add support for SIGWINCH / window resize
Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
parent
c8f895266f
commit
e53298ab1f
@ -159,6 +159,8 @@ again:
|
|||||||
case 'r':
|
case 'r':
|
||||||
reloadcurrentslide(0);
|
reloadcurrentslide(0);
|
||||||
goto show;
|
goto show;
|
||||||
|
case KEY_RESIZE: /* resize / SIGWINCH */
|
||||||
|
goto show;
|
||||||
default:
|
default:
|
||||||
/* printf("key pressed = '%d'\n", c); */
|
/* printf("key pressed = '%d'\n", c); */
|
||||||
goto again;
|
goto again;
|
||||||
|
Loading…
Reference in New Issue
Block a user