Forráskód Böngészése

When the cursor is moved, clear the selection.

Christoph Lohmann 9 éve
szülő
commit
91c70213d1
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      st.c

+ 1 - 0
st.c

@@ -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;