Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
When the cursor is moved, clear the selection.
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
e0417e5
..
0c528d5
100644
(file)
--- 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;