add support for SIGWINCH / window resize

Signed-off-by: Christoph Lohmann <20h@r-36.net>
master
Hiltjo Posthuma 3 years ago committed by Christoph Lohmann
parent c8f895266f
commit e53298ab1f

@ -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;

Loading…
Cancel
Save