mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +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";
|
||||
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…
Add table
Add a link
Reference in a new issue