aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-07-28 16:32:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-07-28 19:06:58 +0000
commitb8506bbea049548310552e210e9cb363195fe74b (patch)
treeba948d6e7be31b3cbcdb3243194d1236dfdd54b0 /input.c
parentselection: foreach_selected_*(): refactor: use grid_row_abs_to_sb() (diff)
selection: extend: use scrollback relative coordinates
When extending a selection, we determine *how* to extend it (which endpoint to move, and whether to grow or shrink the selection) by comparing the extension point with the old start and end coordinates. For this to work correctly, we need to use scrollback relative coordinates. This fixes an issue where extending a very large selection (covering many pages) sometimes shrunk the selection instead of growing it, or just misbehaving in general.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions