resize window as well
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
b91a1f0317
commit
d12d09e204
2
main.c
2
main.c
@ -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…
x
Reference in New Issue
Block a user