tadd support for SIGWINCH / window resize - catpoint - Catpoint simple presenting software.
(HTM) git clone git://r-36.net/catpoint
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e53298ab1f62fbae87d2c139e30ead81a400d0ce
(DIR) parent c8f895266f3df502cade5f64150d7f1986329f73
(HTM) 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:
catpoint.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/catpoint.c b/catpoint.c
t@@ -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;