summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorDennis Lee <dennis@dennislee.xyz>2020-06-30 18:01:26 -0700
committerDennis Lee <dennis@dennislee.xyz>2020-06-30 18:33:15 -0700
commitcf0807b3e97b4abe6c57ee512cd001a53ed05c81 (patch)
treebe065d58b583c869198111368a3132eaa5d1204a /st.c
parent222eac739d43c7a380b9a37db91bf61ed8dbc65a (diff)
use st-scrollback-mouse-altscreen-20190131-e23acb9
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 0e5e3f5..10e4b4d 100644
--- a/st.c
+++ b/st.c
@@ -1063,6 +1063,11 @@ tnew(int col, int row)
treset();
}
+int tisaltscr(void)
+{
+ return IS_SET(MODE_ALTSCREEN);
+}
+
void
tswapscreen(void)
{