]> granicus.if.org Git - nethack/commitdiff
Allow scrolling X11 extended cmd menu with cursors
authorPasi Kallinen <paxed@alt.org>
Fri, 1 Jan 2016 22:47:10 +0000 (00:47 +0200)
committerPasi Kallinen <paxed@alt.org>
Fri, 1 Jan 2016 22:47:10 +0000 (00:47 +0200)
win/X11/winmisc.c

index c966650c94b29abdca6e3c76a4aa11f3950dbca3..78e1b73b94ae7e4a379eb13e5dba0fd47baede71 100644 (file)
@@ -51,6 +51,10 @@ static char ec_chars[EC_NCHARS];
 static Time ec_time;
 
 static const char extended_command_translations[] = "#override\n\
+     <Key>Left: scroll(4)\n\
+     <Key>Right: scroll(6)\n\
+     <Key>Up: scroll(8)\n\
+     <Key>Down: scroll(2)\n\
      <Key>: ec_key()";
 
 static const char player_select_translations[] = "#override\n\