mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -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";
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user