add support for SIGWINCH / window resize

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
Hiltjo Posthuma 2020-12-20 15:42:42 +01:00 committed by Christoph Lohmann
parent c8f895266f
commit e53298ab1f

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;