From cf0807b3e97b4abe6c57ee512cd001a53ed05c81 Mon Sep 17 00:00:00 2001 From: Dennis Lee Date: Tue, 30 Jun 2020 18:01:26 -0700 Subject: use st-scrollback-mouse-altscreen-20190131-e23acb9 --- st.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'st.c') 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) { -- cgit v1.2.3