commit a3f7420310be0fd778ef9fe2abf20edc2d8dc81a from: Tim Culverhouse via: Hiltjo Posthuma date: Sun Feb 18 15:14:26 2024 UTC 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. commit - 9846a56bd7fdc86bf788db04bbbcbde7b7eb9952 commit + a3f7420310be0fd778ef9fe2abf20edc2d8dc81a blob - d6478f55a2498f36bc1c0fa54bdff5de94e1b114 blob + 034954d0aa83de340560498116a75930bc1b3db9 --- st.c +++ st.c @@ -1728,6 +1728,7 @@ csihandle(void) } break; case 'S': /* SU -- Scroll line up */ + if (csiescseq.priv) break; DEFAULT(csiescseq.arg[0], 1); tscrollup(term.top, csiescseq.arg[0]); break;