mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 01:22:26 +02: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue