From 5b096d0b13e28811bb810dd6fcc0b3d0ffd714b5 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Feb 2023 03:23:46 -0600 Subject: add scrollback-mouse-altscreen patch --- st.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'st.c') diff --git a/st.c b/st.c index 22bef3c..a90bf3f 100644 --- a/st.c +++ b/st.c @@ -1053,6 +1053,11 @@ tsetdirt(int top, int bot) term.dirty[i] = 1; } +int tisaltscr(void) +{ + return IS_SET(MODE_ALTSCREEN); +} + void tsetdirtattr(int attr) { -- cgit v1.2.3