summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authortsxv478 <vt0451@yandex.ru>2022-07-17 04:23:50 +0300
committertsxv478 <vt0451@yandex.ru>2022-07-17 04:23:50 +0300
commit02760c4ad088e94d69976b5d5367b918fccd69bf (patch)
tree7bcaa8560049cb923862b2fabf7899d01058a5d1 /st.c
parent1249b14c3c2f976e3253ba7339d67ccd03ee6868 (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)
{