shithub: drawterm

Download patch

ref: 289afc11ba1a173e7de67d4e5c0850531de478d2
parent: 6bfea395105390370f2681a34d8c10bb3465bfdb
author: 23hiro <23hiro@gmail.com>
date: Tue Jul 12 08:10:15 EDT 2016

gui-x11: add scroll_lock key (thanks 9fuser)

--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -823,6 +823,9 @@
 		case XK_Caps_Lock:
 			k = Kcaps;
 			break;
+		case XK_Scroll_Lock:
+			k = Kscroll;
+			break;
 
 		case XK_F1:
 		case XK_F2: