mirror of
https://github.com/alrayyes/st.git
synced 2024-11-25 04:16:23 +00:00
When the cursor is moved, clear the selection.
This commit is contained in:
parent
2677296147
commit
91c70213d1
1 changed files with 1 additions and 0 deletions
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…
Reference in a new issue