aboutsummaryrefslogtreecommitdiff
path: root/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
blob: 56c6e1cf0e0da99887dcdcf12f0f3ff0c21a7465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD$

--- input.c.orig	2021-07-17 15:01:03.290490780 +0000
+++ input.c
@@ -1376,6 +1376,9 @@ Input(XtermWidget xw,
     }
     unparse_end(xw);
 
+    if (screen->scrollkey && kd.keysym != XK_Return)
+	SetScrollLock(screen, False);
+
     if (key && !TEK4014_ACTIVE(xw))
 	AdjustAfterInput(xw);