summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-20 03:23:46 -0600
committerzachir <zachir@librem.one>2023-02-20 03:23:46 -0600
commit5b096d0b13e28811bb810dd6fcc0b3d0ffd714b5 (patch)
tree673bd97cb428c5d1782b5f7723b008465ac7bd80 /st.c
parent543d377de17a506b23357c4467e6e2d77a75afdb (diff)
add scrollback-mouse-altscreen patch
Diffstat (limited to 'st.c')
-rw-r--r--st.c5
1 files changed, 5 insertions, 0 deletions
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)
{