diff options
| author | Christoph Lohmann <20h@r-36.net> | 2015-10-05 21:18:34 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2015-10-05 21:18:34 +0200 |
| commit | 91c70213d1e595467b14ce6d28f333dbedd97cab (patch) | |
| tree | 3931fa23a702e1a066754c856e85d98f3e5561ec | |
| parent | 2677296147fe658376be67821449b8f232c65064 (diff) | |
| download | st-91c70213d1e595467b14ce6d28f333dbedd97cab.tar.gz st-91c70213d1e595467b14ce6d28f333dbedd97cab.zip | |
When the cursor is moved, clear the selection.
| -rw-r--r-- | st.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -1811,6 +1811,7 @@ tmoveto(int x, int y) | |||
| 1811 | { | 1811 | { |
| 1812 | int miny, maxy; | 1812 | int miny, maxy; |
| 1813 | 1813 | ||
| 1814 | selclear(NULL); | ||
| 1814 | if (term.c.state & CURSOR_ORIGIN) { | 1815 | if (term.c.state & CURSOR_ORIGIN) { |
| 1815 | miny = term.top; | 1816 | miny = term.top; |
| 1816 | maxy = term.bot; | 1817 | maxy = term.bot; |
