When the cursor is moved, clear the selection.

master
Christoph Lohmann 9 years ago
parent 2677296147
commit 91c70213d1
  1. 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…
Cancel
Save