When the cursor is moved, clear the selection.
This commit is contained in:
parent
2677296147
commit
91c70213d1
1
st.c
1
st.c
@ -1811,6 +1811,7 @@ tmoveto(int x, int y)
|
|||||||
{
|
{
|
||||||
int miny, maxy;
|
int miny, maxy;
|
||||||
|
|
||||||
|
selclear(NULL);
|
||||||
if (term.c.state & CURSOR_ORIGIN) {
|
if (term.c.state & CURSOR_ORIGIN) {
|
||||||
miny = term.top;
|
miny = term.top;
|
||||||
maxy = term.bot;
|
maxy = term.bot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user