When the cursor is moved, clear the selection.

master
Christoph Lohmann 2015-10-05 21:18:34 +02:00
parent 2677296147
commit 91c70213d1
1 changed files with 1 additions and 0 deletions

1
st.c
View File

@ -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;