From 91c70213d1e595467b14ce6d28f333dbedd97cab Mon Sep 17 00:00:00 2001 From: Christoph Lohmann Date: Mon, 5 Oct 2015 21:18:34 +0200 Subject: When the cursor is moved, clear the selection. --- st.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3