summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-09-12 18:29:56 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-09-12 18:29:56 +0400
commit2faaa50b3725bded7b9a858b336a58293f769847 (patch)
treecfedfb63419c29fab21da3dec89c25c80191bcfc /st.c
parentcbb4606edfaf526c89e5574662272e7b0bda05a9 (diff)
Added patches oneclipboard, scrollback-mouse, scrollback-mouse-altscreen
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 edec064..166f037 100644
--- a/st.c
+++ b/st.c
@@ -1057,6 +1057,11 @@ tnew(int col, int row)
treset();
}
+int tisaltscr(void)
+{
+ return IS_SET(MODE_ALTSCREEN);
+}
+
void
tswapscreen(void)
{