From 3e91d797bb1432db780731b4000188cf6890db84 Mon Sep 17 00:00:00 2001 From: Miguel Angel Astor Romero Date: Sun, 2 Mar 2014 14:56:23 -0430 Subject: [PATCH] Removed some needless comments. --- src/main.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/main.c b/src/main.c index 2f049c2..5ed2198 100644 --- a/src/main.c +++ b/src/main.c @@ -108,6 +108,7 @@ int main() { do{ clear_screen(); + /* Handle terminal resize. */ if(resize){ endwin(); refresh(); @@ -184,17 +185,6 @@ void manage_signal(int signal){ } void on_resize(int signal){ - /*struct winsize ws;*/ - - /* Request the new size of the terminal. */ - /*ioctl(1, TIOCGWINSZ, &ws);*/ - - /* Resize ncurses's stdscr. */ - /*resizeterm(ws.ws_row, ws.ws_col);*/ - - /* Get the new size of the window. */ - /*getmaxyx(stdscr, h, w);*/ - resize = 1; }