From b1f77e2684e85fac5ef5d50fc1342d7d53e5a492 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Wed, 21 Apr 2004 19:06:18 +0000 Subject: Fixed resize handling (SIGWINCH). git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- screen_utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'screen_utils.c') diff --git a/screen_utils.c b/screen_utils.c index c9fff74c4..1fb581aaa 100644 --- a/screen_utils.c +++ b/screen_utils.c @@ -50,6 +50,8 @@ screen_getch(WINDOW *w, char *prompt) timeout(-1); key = wgetch(w); + if( key==KEY_RESIZE ) + screen_resize(); noecho(); curs_set(0); -- cgit v1.2.3