aboutsummaryrefslogtreecommitdiff
path: root/AmpelJonas/cRender.h
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2018-12-26 15:18:23 +0100
committerGravatar jonas <himself@jonasgunz.de> 2018-12-26 15:18:23 +0100
commit905f5ad1f16d2ea719eb40c311609f8fad46fd95 (patch)
tree95011d6ca3fdf02a08b529586575c49d88f41cb1 /AmpelJonas/cRender.h
parent79deae78d89757b3e1a53b5d990c28cc70d4175d (diff)
downloadtermgl-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.h3
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