diff options
author | jonas <himself@jonasgunz.de> | 2018-12-26 15:18:23 +0100 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2018-12-26 15:18:23 +0100 |
commit | 905f5ad1f16d2ea719eb40c311609f8fad46fd95 (patch) | |
tree | 95011d6ca3fdf02a08b529586575c49d88f41cb1 /AmpelJonas/cRender.h | |
parent | 79deae78d89757b3e1a53b5d990c28cc70d4175d (diff) | |
download | termgl-905f5ad1f16d2ea719eb40c311609f8fad46fd95.tar.gz |
Fixed render problem in performance Render mode.
in render.cpp:render() moved gotoxy() out of if(bChanged) fixed Issue.
Not optimal
Diffstat (limited to 'AmpelJonas/cRender.h')
-rw-r--r-- | AmpelJonas/cRender.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AmpelJonas/cRender.h b/AmpelJonas/cRender.h index 00f94e2..ba5b9aa 100644 --- a/AmpelJonas/cRender.h +++ b/AmpelJonas/cRender.h @@ -1,9 +1,11 @@ #pragma once #include <stdlib.h> +#include <stdio.h> #include <string> #include <math.h> #include <iostream> +#include <termios.h> #ifdef __linux__ #include <unistd.h> @@ -137,6 +139,7 @@ private: void forceReRender(); + void setConsoleEcho(bool _enable); #ifdef __linux__ sPos getConsoleWindowSize(); #endif |