summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index ab2558e2c..e6d0e9eb6 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1144,6 +1144,26 @@ impHandler1(execute)
execFile(name, name, params, "");
}
+impHandler1(enableHighlight)
+{
+ if (tab)
+ {
+ tab->setAllowHighlight(true);
+ if (chatWindow)
+ chatWindow->saveState();
+ }
+}
+
+impHandler1(disableHighlight)
+{
+ if (tab)
+ {
+ tab->setAllowHighlight(false);
+ if (chatWindow)
+ chatWindow->saveState();
+ }
+}
+
impHandler0(testsdlfont)
{
#if defined USE_OPENGL && defined DEBUG_SDLFONT