summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
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)
{