When the cursor is moved, clear the selection.

This commit is contained in:
Christoph Lohmann 2015-10-05 21:18:34 +02:00
parent 2677296147
commit 91c70213d1

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;