Reset sigwinch after handler
This commit is contained in:
parent
5125a24bfe
commit
1e50a21706
@ -225,6 +225,8 @@ void SIGWINCH_handler(int sig) {
|
|||||||
min_row = (FRAME_HEIGHT - (terminal_height-1)) / 2;
|
min_row = (FRAME_HEIGHT - (terminal_height-1)) / 2;
|
||||||
max_row = (FRAME_HEIGHT + (terminal_height-1)) / 2;
|
max_row = (FRAME_HEIGHT + (terminal_height-1)) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signal(SIGWINCH, SIGWINCH_handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user