summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cInput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cInput.cpp b/cInput.cpp
index e0aa233..2a6e11c 100644
--- a/cInput.cpp
+++ b/cInput.cpp
@@ -14,13 +14,13 @@ cInput::cInput()
write (STDOUT_FILENO, "\e[?47h", 6);
// Enable mouse tracking
- write (STDOUT_FILENO, "\e[?9h", 5);
+ write (STDOUT_FILENO, "\e[?1000h", 8);
}
cInput::~cInput()
{
//revert changes to console
- write (STDOUT_FILENO, "\e[?9l", 5);
+ write (STDOUT_FILENO, "\e[?1000l", 8);
write (STDOUT_FILENO, "\e[?47l", 6);
tcsetattr (STDIN_FILENO, TCSANOW, &original);
}