summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.c b/st.c
index e0417e5..0c528d5 100644
--- a/st.c
+++ b/st.c
@@ -1811,6 +1811,7 @@ tmoveto(int x, int y)
{
int miny, maxy;
+ selclear(NULL);
if (term.c.state & CURSOR_ORIGIN) {
miny = term.top;
maxy = term.bot;