From e53298ab1f62fbae87d2c139e30ead81a400d0ce Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 20 Dec 2020 15:42:42 +0100 Subject: [PATCH] add support for SIGWINCH / window resize Signed-off-by: Christoph Lohmann <20h@r-36.net> --- catpoint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/catpoint.c b/catpoint.c index 74317f6..da4ab1f 100644 --- 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;