add support for SIGWINCH / window resize - catpoint - Catpoint simple presenting software. HTML git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit e53298ab1f62fbae87d2c139e30ead81a400d0ce DIR parent c8f895266f3df502cade5f64150d7f1986329f73 HTML 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: M catpoint.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR 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;