aboutsummaryrefslogtreecommitdiff
path: root/copypasta/examples/wayland.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-06-06 13:04:12 +0000
committerGitHub <noreply@github.com>2019-06-06 13:04:12 +0000
commitf15ef63edbbc5e4e685b018311e2f6424db0b0c9 (patch)
treef65bd6b6680d8654a3011d2b0b59f074dd8ab8fe /copypasta/examples/wayland.rs
parent45565bb9ca9ef33e38cf5e0592d3878e898ed325 (diff)
downloadr-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 'copypasta/examples/wayland.rs')
0 files changed, 0 insertions, 0 deletions