summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2022-07-17 04:23:50 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2022-07-17 04:23:50 +0300
commit24487a33291ea1cbb6456f21c48230eed4da4498 (patch)
tree7bcaa8560049cb923862b2fabf7899d01058a5d1 /st.c
parent0d02519ec010ea5e6e0582a6ab682e03a027380c (diff)
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 524a95c..4e6d805 100644
--- a/st.c
+++ b/st.c
@@ -1063,6 +1063,11 @@ tsetdirtattr(int attr)
}
}
+int tisaltscr(void)
+{
+ return IS_SET(MODE_ALTSCREEN);
+}
+
void
tfulldirt(void)
{