aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-27 16:34:56 +0000
committerKalle Wallin <kaw@linux.se>2004-03-27 16:34:56 +0000
commitd67b8aa8d9173e3331ba686220004ef05b9efa74 (patch)
treed87ec2b754a50731c0b3b58defed7ceb85b8fed6 /screen.c
parent31832b2c38d5decb81e7aad84e39dbfe12a9392c (diff)
downloadmpd-d67b8aa8d9173e3331ba686220004ef05b9efa74.tar.gz
mpd-d67b8aa8d9173e3331ba686220004ef05b9efa74.tar.xz
mpd-d67b8aa8d9173e3331ba686220004ef05b9efa74.zip
Define the read timeout in screen.h
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@511 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 37f514622..18feab9a0 100644
--- a/screen.c
+++ b/screen.c
@@ -298,7 +298,7 @@ screen_init(void)
/* return from getch() without blocking */
// nodelay(stdscr, TRUE);
keypad(stdscr, TRUE);
- timeout(100); /*void wtimeout(WINDOW *win, int delay);*/
+ timeout(SCREEN_TIMEOUT);
if( COLS<SCREEN_MIN_COLS || LINES<SCREEN_MIN_ROWS )
{
@@ -440,7 +440,6 @@ void
screen_cmd(mpd_client_t *c, command_t cmd)
{
int n;
- // char buf[256];
screen_mode_t new_mode = screen->mode;
switch(screen->mode)