diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2024-02-18 06:56:49 -0600 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2024-02-18 16:16:00 +0000 |
commit | 0d1d6a361a6b5a5fa4a875e1c358baf346a996f9 (patch) | |
tree | bf3266e574941a91df8f43aac3e46fd5bb629219 /st.c | |
parent | 1c74e1bf4cbee344d05abf5744165ab4277332e0 (diff) |
csi: check for private marker in 'S' case
The handler for 'S' final character does not check for a private
marker. This can cause a conflict with a sequence called 'XTSMGRAPHICS'
which also has an 'S' final character, but uses the private marker '?'.
Without checking for a private marker, st will perform a scroll up
operation when XTSMGRAPHICS is seen, which can cause unexpected display
artifacts.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1790,6 +1790,7 @@ csihandle(void) } break; case 'S': /* SU -- Scroll <n> line up */ + if (csiescseq.priv) break; DEFAULT(csiescseq.arg[0], 1); tscrollup(term.top, csiescseq.arg[0], 0); break; |