commit e53298ab1f62fbae87d2c139e30ead81a400d0ce
parent c8f895266f3df502cade5f64150d7f1986329f73
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 20 Dec 2020 15:42:42 +0100
add support for SIGWINCH / window resize
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/catpoint.c b/catpoint.c
@@ -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;