1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/alacritty_terminal
Christian Duerr f15ef63edb
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.
2019-06-06 13:04:12 +00:00
..
src Fix index out of bounds during selection 2019-06-06 13:04:12 +00:00
tests Refactor config parsing files 2019-05-10 11:36:16 +00:00
build.rs Split alacritty into a separate crates 2019-04-28 13:24:58 +00:00
Cargo.toml Refactor config parsing files 2019-05-10 11:36:16 +00:00