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 --- command.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'command.c') diff --git a/command.c b/command.c index 2ad85d0ce..2a426e347 100644 --- a/command.c +++ b/command.c @@ -328,6 +328,9 @@ get_keyboard_command(void) key = wgetch(stdscr); + if( key==KEY_RESIZE ) + screen_resize(); + if( key==ERR ) return CMD_NONE; -- cgit v1.2.3