From 150dacf63c03d112ead9aa25c374373d785d202e Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 4 Jan 2023 13:26:47 -0500 Subject: Applied mouse scrolling patches --- st.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'st.c') 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) { -- cgit v1.2.3