aboutsummaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-21 19:06:18 +0000
committerKalle Wallin <kaw@linux.se>2004-04-21 19:06:18 +0000
commitb1f77e2684e85fac5ef5d50fc1342d7d53e5a492 (patch)
tree7727ec3010c4368f59b19a3e246f8d62cc8944d5 /command.c
parent41d5f057a8e0fa8ed4a0c8465ce8a1d0e7ab8e1a (diff)
downloadmpd-b1f77e2684e85fac5ef5d50fc1342d7d53e5a492.tar.gz
mpd-b1f77e2684e85fac5ef5d50fc1342d7d53e5a492.tar.xz
mpd-b1f77e2684e85fac5ef5d50fc1342d7d53e5a492.zip
Fixed resize handling (SIGWINCH).
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'command.c')
-rw-r--r--command.c3
1 files changed, 3 insertions, 0 deletions
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;