diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-17 20:33:31 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-17 20:33:31 +0200 |
commit | a1e0d9266c9ea364b7b10d03a0d614b8a83a3eb5 (patch) | |
tree | 2fa92a892d403dea32610a35b32c230ff295ab1c /usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen | |
parent | 9ebbad626103891779c0e1c3304226a8967cf0a5 (diff) | |
download | patches-a1e0d9266c9ea364b7b10d03a0d614b8a83a3eb5.tar.gz |
xterm: Add patch-scroll-{bottom,lock-{altscreen,scrollkey}}
Diffstat (limited to 'usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen')
-rw-r--r-- | usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen b/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen new file mode 100644 index 0000000..2091460 --- /dev/null +++ b/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen @@ -0,0 +1,17 @@ +$NetBSD$ + +Disable Scroll Lock-specific behavior in the alternate screen. +This makes visual programs like vi (that make use of the alternate +screen) behave normally even if Scroll Lock is active. + +--- util.c.orig 2018-03-14 06:04:22.000000000 +0000 ++++ util.c +@@ -570,7 +570,7 @@ xtermScroll(XtermWidget xw, int amount) + amount = i; + + #if OPT_SCROLL_LOCK +- if (screen->allowScrollLock && screen->scroll_lock) { ++ if (screen->allowScrollLock && screen->scroll_lock && !screen->whichBuf) { + refreshheight = 0; + screen->scroll_amt = 0; + screen->refresh_amt = 0; |