summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2025-06-19 12:15:22 +0100
committerAiden Gall <aiden@aidengall.xyz>2025-06-19 12:15:22 +0100
commit3ecd13a93e678b6fcc48cc5a34253ba03ff3b7e3 (patch)
tree8df897ea3eb0cd1b971b6ad442b68417a6b4bd51
parent1045eb73fe0ccc37b9aae8feb4294822463644c4 (diff)
parent98610fcd37f655d44586323dc86c1d013c2798ce (diff)
Merge commit '98610fc'HEADmaster
-rw-r--r--st.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/st.c b/st.c
index dbedffd..0ae4eaf 100644
--- a/st.c
+++ b/st.c
@@ -2036,7 +2036,11 @@ csihandle(void)
tcursor(CURSOR_SAVE);
break;
case 'u': /* DECRC -- Restore cursor position (ANSI.SYS) */
- tcursor(CURSOR_LOAD);
+ if (csiescseq.priv) {
+ goto unknown;
+ } else {
+ tcursor(CURSOR_LOAD);
+ }
break;
case ' ':
switch (csiescseq.mode[1]) {