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:
parent
49b7992b00
commit
09f3538073
@ -110,11 +110,15 @@ static const char *get_key_name(int key)
|
||||
return "Tab";
|
||||
case KEY_HOME:
|
||||
return "Home";
|
||||
#ifdef KEY_END
|
||||
case KEY_END:
|
||||
#endif
|
||||
#ifdef KEY_LL
|
||||
case KEY_LL:
|
||||
#endif
|
||||
#if defined (KEY_END) || defined (KEY_LL)
|
||||
return "End";
|
||||
#endif
|
||||
case KEY_PPAGE:
|
||||
return "Prior";
|
||||
case KEY_NPAGE:
|
||||
|
Loading…
Reference in New Issue
Block a user