Procházet zdrojové kódy

When the cursor is moved, clear the selection.

Christoph Lohmann před 9 roky
rodič
revize
91c70213d1
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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;