diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-07-28 16:32:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-07-28 19:06:58 +0000 |
| commit | b8506bbea049548310552e210e9cb363195fe74b (patch) | |
| tree | ba948d6e7be31b3cbcdb3243194d1236dfdd54b0 /doc | |
| parent | selection: 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 'doc')
0 files changed, 0 insertions, 0 deletions
