summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-15 09:49:42 -0300
committerAndrés <andmarti@gmail.com>2021-03-15 09:49:42 -0300
commit39235fb479d0a773d5bdacae7ff91e5190da3d1f (patch)
tree72e0763c416f3a76ee1b67cc56aee67cf1289109
parent9be7a50964dc6930df127f0c0e85382d86cbfc36 (diff)
unselect ranges when changing to a cell with mouse
-rw-r--r--src/tui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tui.c b/src/tui.c
index e5ac2d0..c152ac8 100644
--- a/src/tui.c
+++ b/src/tui.c
@@ -1534,6 +1534,7 @@ void ui_handle_mouse(MEVENT event) {
}
currow = r;
curcol = i;
+ unselect_ranges();
ui_update(TRUE);
}
#endif