[hackers] [st] When the cursor is moved, clear the selection. || Christoph Lohmann
commit 91c70213d1e595467b14ce6d28f333dbedd97cab
Author: Christoph Lohmann <20h_AT_r-36.net>
AuthorDate: Mon Oct 5 21:18:34 2015 +0200
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Mon Oct 5 21:18:34 2015 +0200
When the cursor is moved, clear the selection.
diff --git a/st.c b/st.c
index e0417e5..0c528d5 100644
--- a/st.c
+++ b/st.c
_AT_@ -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;
Received on Mon Oct 05 2015 - 21:19:25 CEST
This archive was generated by hypermail 2.3.0
: Mon Oct 05 2015 - 21:24:10 CEST