diff options
author | Andrés <andmarti@gmail.com> | 2021-03-15 12:09:58 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-03-15 12:09:58 -0300 |
commit | aa8105a2531d9eb7bb1e88d1a273e1c9b1c7f65b (patch) | |
tree | 8f10ea5306754c58a7c24ff8b42a69cba8a3f49d | |
parent | 7e903396209347c70de199e64c78f4733712792a (diff) |
Fix row position when clicking after mouse wheel movement
-rw-r--r-- | src/tui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |