resize window as well

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 3 years ago
parent b91a1f0317
commit d12d09e204
  1. BIN
      main
  2. 2
      main.c

BIN
main

Binary file not shown.

@ -70,6 +70,8 @@ int main(int argc,char**argv) {
currentLogCounter=(currentLogCounter+1)%25; currentLogCounter=(currentLogCounter+1)%25;
if (ch==KEY_RESIZE) { if (ch==KEY_RESIZE) {
getmaxyx(stdscr,rows,cols); getmaxyx(stdscr,rows,cols);
delwin(messageBox);
messageBox=newwin(4,cols-2,rows-5,1);
} }
} }
if (clock()-lastTime>FRAMETIME) { if (clock()-lastTime>FRAMETIME) {

Loading…
Cancel
Save