aboutsummaryrefslogtreecommitdiff
path: root/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-17 20:33:31 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-17 20:33:31 +0200
commita1e0d9266c9ea364b7b10d03a0d614b8a83a3eb5 (patch)
tree2fa92a892d403dea32610a35b32c230ff295ab1c /usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
parent9ebbad626103891779c0e1c3304226a8967cf0a5 (diff)
downloadpatches-a1e0d9266c9ea364b7b10d03a0d614b8a83a3eb5.tar.gz
xterm: Add patch-scroll-{bottom,lock-{altscreen,scrollkey}}
Diffstat (limited to 'usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey')
-rw-r--r--usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey14
1 files changed, 14 insertions, 0 deletions
diff --git a/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey b/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
new file mode 100644
index 0000000..56c6e1c
--- /dev/null
+++ b/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-scrollkey
@@ -0,0 +1,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);
+