diff options
author | jonas <himself@jonasgunz.de> | 2019-01-08 09:31:19 +0100 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-01-08 09:31:19 +0100 |
commit | 6152506560cc3642e1956bc9e2502e8ae8aa9a5b (patch) | |
tree | ae6afb24f5ad859cddf5571e687a89a12c451008 /cInput.cpp | |
parent | 58d83d0394b81e079bfbb767936f7449235a236d (diff) | |
download | termgl-6152506560cc3642e1956bc9e2502e8ae8aa9a5b.tar.gz |
moved framebuffer setup from cInput to cRender:setAlternateBufferScreen
Diffstat (limited to 'cInput.cpp')
-rw-r--r-- | cInput.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -11,7 +11,8 @@ cInput::cInput() tcsetattr (STDIN_FILENO, TCSANOW, &raw); // Switch to the alternate buffer screen - write (STDOUT_FILENO, "\e[?47h", 6); + //write (STDOUT_FILENO, "\e[?47h", 6); + ///MOVED TO cRender // Enable mouse tracking write (STDOUT_FILENO, "\e[?1000h", 8); @@ -21,7 +22,7 @@ cInput::~cInput() { //revert changes to console write (STDOUT_FILENO, "\e[?1000l", 8); - write (STDOUT_FILENO, "\e[?47l", 6); + //write (STDOUT_FILENO, "\e[?47l", 6); tcsetattr (STDIN_FILENO, TCSANOW, &original); } |