1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

KEY_END isn't defined in all curses implementations

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@876 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-26 03:21:46 +00:00 committed by cras
parent 49b7992b00
commit 09f3538073

View File

@ -110,11 +110,15 @@ static const char *get_key_name(int key)
return "Tab"; return "Tab";
case KEY_HOME: case KEY_HOME:
return "Home"; return "Home";
#ifdef KEY_END
case KEY_END: case KEY_END:
#endif
#ifdef KEY_LL #ifdef KEY_LL
case KEY_LL: case KEY_LL:
#endif #endif
#if defined (KEY_END) || defined (KEY_LL)
return "End"; return "End";
#endif
case KEY_PPAGE: case KEY_PPAGE:
return "Prior"; return "Prior";
case KEY_NPAGE: case KEY_NPAGE: