diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-01-21 00:56:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 00:56:10 +0100 |
commit | c84cd0fdb0335fa873f397e95a0a728be0fe15f5 (patch) | |
tree | b4fc5dc3dc19d2bdd92c4a3396b509e988c86e65 /alacritty/src/renderer/mod.rs | |
parent | 5e22512fe6a1a6a8e347c09bbc486408753bff95 (diff) | |
download | r-alacritty-c84cd0fdb0335fa873f397e95a0a728be0fe15f5.tar.gz r-alacritty-c84cd0fdb0335fa873f397e95a0a728be0fe15f5.tar.bz2 r-alacritty-c84cd0fdb0335fa873f397e95a0a728be0fe15f5.zip |
Fix first cell when selection is off screen
Since the expansion of the selection was done after clamping it to the
grid, the selection would incorrectly move the clamped start over by one
cell when the start was to the right of the original column. By
resetting the side of the start point to `Left` before expanding, this
can be circumvented.
This also resolves a regression which broke backwards bracket selection.
Fixes #3223.
Diffstat (limited to 'alacritty/src/renderer/mod.rs')
0 files changed, 0 insertions, 0 deletions