From e2406c5ef7ba0101ad1e7dc1e4bde70cd90f79e7 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 7 Jan 2019 19:13:13 +0100 Subject: cRender cleanup --- cRender.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cRender.cpp b/cRender.cpp index d4f4185..5354f1d 100644 --- a/cRender.cpp +++ b/cRender.cpp @@ -172,8 +172,6 @@ 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 -- cgit v1.2.3