Add test to see if curses has keypad(). May break on Solaris - we'll see.

Fix from discussion with Steve Schultz
This commit is contained in:
rocky
2005-04-22 01:54:13 +00:00
parent c825b6af5e
commit a691a9a1b1
2 changed files with 14 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: cdda-player.c,v 1.33 2005/04/17 06:19:48 rocky Exp $
$Id: cdda-player.c,v 1.34 2005/04/22 01:54:13 rocky Exp $
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
@@ -203,7 +203,9 @@ tty_raw()
initscr();
cbreak();
noecho();
#ifdef HAVE_KEYPAD
keypad(stdscr,1);
#endif
refresh();
}