summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorDouglas Rumbaugh <doug@douglasrumbaugh.com>2023-01-04 13:26:47 -0500
committerDouglas Rumbaugh <doug@douglasrumbaugh.com>2023-01-04 13:31:13 -0500
commit150dacf63c03d112ead9aa25c374373d785d202e (patch)
treeaf9d250991a320976091104689fcc7e6f41c35c9 /st.c
parent7fd24679e974c55b7593bb3119f887a155928ed3 (diff)
downloadst-150dacf63c03d112ead9aa25c374373d785d202e.tar.gz
Applied mouse scrolling patches
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 72cad4e..8937ba6 100644
--- a/st.c
+++ b/st.c
@@ -1055,6 +1055,11 @@ tattrset(int attr)
return 0;
}
+int tisaltscr(void)
+{
+ return IS_SET(MODE_ALTSCREEN);
+}
+
void
tsetdirt(int top, int bot)
{