aboutsummaryrefslogtreecommitdiff
path: root/cRender.cpp
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-07 19:13:13 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-07 19:13:13 +0100
commit0aec784cc1a8b052203482d8673b2f195c7365a5 (patch)
tree519857003d97414bfcb2e57b726c595d73c6a90f /cRender.cpp
parent1b76fb5a73bc610445b9fbda8c686fcbb6180cd0 (diff)
downloadtermgl-0aec784cc1a8b052203482d8673b2f195c7365a5.tar.gz
cRender cleanup
Diffstat (limited to 'cRender.cpp')
-rw-r--r--cRender.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cRender.cpp b/cRender.cpp
index d4f4185..b4ae363 100644
--- a/cRender.cpp
+++ b/cRender.cpp
@@ -171,9 +171,7 @@ int cRender::render(void)
}
}
-
- gotoxy(sizeX - 1, sizeY - 1);
-
+
return 0;
}
@@ -267,7 +265,7 @@ sPos cRender::getConsoleWindowSize()
struct winsize w;
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
- return {w.ws_col, w.ws_row - 1};
+ return {w.ws_col, w.ws_row};
}
#endif