iWhen the cursor is moved, clear the selection. - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 91c70213d1e595467b14ce6d28f333dbedd97cab /scm/st//commit/91c70213d1e595467b14ce6d28f333dbedd97cab.gph gopher.r-36.net 70 1parent 2677296147fe658376be67821449b8f232c65064 /scm/st//commit/2677296147fe658376be67821449b8f232c65064.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Mon, 5 Oct 2015 21:18:34 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iWhen the cursor is moved, clear the selection. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i st.c | 1 + Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 1 insertion(+), 0 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/st.c b/st.c /scm/st//file/st.c.gph gopher.r-36.net 70 i@@ -1811,6 +1811,7 @@ tmoveto(int x, int y) Err gopher.r-36.net 70 i { Err gopher.r-36.net 70 i int miny, maxy; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i+ selclear(NULL); Err gopher.r-36.net 70 i if (term.c.state & CURSOR_ORIGIN) { Err gopher.r-36.net 70 i miny = term.top; Err gopher.r-36.net 70 i maxy = term.bot; Err gopher.r-36.net 70 .