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 /st.c | |
parent | 2677296147fe658376be67821449b8f232c65064 (diff) | |
download | st-91c70213d1e595467b14ce6d28f333dbedd97cab.tar.gz st-91c70213d1e595467b14ce6d28f333dbedd97cab.tar.bz2 st-91c70213d1e595467b14ce6d28f333dbedd97cab.zip |
When the cursor is moved, clear the selection.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |