aboutsummaryrefslogtreecommitdiff
path: root/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen
diff options
context:
space:
mode:
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-altscreen17
1 files changed, 0 insertions, 17 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
deleted file mode 100644
index 2091460..0000000
--- a/usr/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen
+++ /dev/null
@@ -1,17 +0,0 @@
-$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;