diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-18 18:50:22 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-18 18:50:22 +0200 |
commit | 06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d (patch) | |
tree | 0eaf4e85da964e98d7cd4f9cc72bba8ac14a05a2 /xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen | |
parent | 123687a5aa3482b5ba9ca86179526c94422b409d (diff) | |
download | patches-06b5f05bd242e0f8e9d12dcb5f99552d14c85a9d.tar.gz |
Move usr/*src to *src
Diffstat (limited to 'xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen')
-rw-r--r-- | xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen b/xsrc/external/mit/xterm/dist/patch-scroll-lock-altscreen new file mode 100644 index 0000000..2091460 --- /dev/null +++ b/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; |