tWhen the cursor is moved, clear the selection. - st - [fork] customized build of st, the simple terminal
HTML git clone git://src.adamsgaard.dk/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 91c70213d1e595467b14ce6d28f333dbedd97cab
DIR parent 2677296147fe658376be67821449b8f232c65064
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 5 Oct 2015 21:18:34 +0200
When the cursor is moved, clear the selection.
Diffstat:
M st.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/st.c b/st.c
t@@ -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;