diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-06-06 13:04:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 13:04:12 +0000 |
commit | f15ef63edbbc5e4e685b018311e2f6424db0b0c9 (patch) | |
tree | f65bd6b6680d8654a3011d2b0b59f074dd8ab8fe /alacritty/src | |
parent | 45565bb9ca9ef33e38cf5e0592d3878e898ed325 (diff) | |
download | r-alacritty-f15ef63edbbc5e4e685b018311e2f6424db0b0c9.tar.gz r-alacritty-f15ef63edbbc5e4e685b018311e2f6424db0b0c9.tar.bz2 r-alacritty-f15ef63edbbc5e4e685b018311e2f6424db0b0c9.zip |
Fix index out of bounds during selection
This reworks the selection logic to prevent any possible index out of
bounds exceptions by clamping the start and end points before doing
anything else with them when converting selections to spans.
This also fixes a bug where semantic selections would not automatically
expand across double-width characters.
Fixes #2486.
Diffstat (limited to 'alacritty/src')
0 files changed, 0 insertions, 0 deletions