Переглянути джерело

When the cursor is moved, clear the selection.

Christoph Lohmann 9 роки тому
батько
коміт
91c70213d1
1 змінених файлів з 1 додано та 0 видалено
  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;