summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui.c b/src/tui.c
index c152ac8..50b675b 100644
--- a/src/tui.c
+++ b/src/tui.c
@@ -1532,7 +1532,7 @@ void ui_handle_mouse(MEVENT event) {
col += fwidth[i];
if (col > c + 1) break;
}
- currow = r;
+ currow = offscr_sc_rows + r;
curcol = i;
unselect_ranges();
ui_update(TRUE);