]> granicus.if.org Git - nethack/commitdiff
X11: Mouse wheel scrolling for message window
authorPasi Kallinen <paxed@alt.org>
Sun, 21 Oct 2018 16:30:05 +0000 (19:30 +0300)
committerPasi Kallinen <paxed@alt.org>
Sun, 21 Oct 2018 16:30:05 +0000 (19:30 +0300)
win/X11/winmesg.c

index 5a019ee2c865680bd2049770a3e5da8616b48de7..32f3909b2efae5e22d17a7ac2b2f54c9f6b07b5e 100644 (file)
@@ -50,6 +50,8 @@ static char mesg_translations[] = "#override\n\
  <Key>Right:    scroll(6)\n\
  <Key>Up:       scroll(8)\n\
  <Key>Down:     scroll(2)\n\
+ <Btn4Down>:    scroll(8)\n\
+ <Btn5Down>:    scroll(2)\n\
  <Key>:         input()";
 
 /* Move the message window's vertical scrollbar's slider to the bottom. */