add support for SIGWINCH / window resize

Signed-off-by: Christoph Lohmann <20h@r-36.net>
master
Hiltjo Posthuma 2020-12-20 15:42:42 +01:00 committed by Christoph Lohmann
parent c8f895266f
commit e53298ab1f
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ again:
case 'r':
reloadcurrentslide(0);
goto show;
case KEY_RESIZE: /* resize / SIGWINCH */
goto show;
default:
/* printf("key pressed = '%d'\n", c); */
goto again;