aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2023-02-15 10:32:14 +0100
committerdavidpkj <davidpenkow1@gmail.com>2023-02-15 10:32:14 +0100
commit6afabf1f55578295e3ff57553114757c2d308257 (patch)
tree95f3fabea12233c0193c058b8a46abbd44f05638 /st.c
parent134842d95bf14c22fcc7d74be3f0b453422660b0 (diff)
Patch: scrollback-mouse-altscreen-20220127
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 46ba498..a5bb20d 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)
{