diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-03-12 00:14:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 03:14:00 +0300 |
commit | c2e39085e3dfed6e4ea69ea30ed85dae1d81823c (patch) | |
tree | d2d0e5fd3e86bd7eea0b82ce08aa7b6d02e46a70 /font/src/ft/mod.rs | |
parent | cc2fc0b1c36bbec7eb56d931e435e70a6e6e606c (diff) | |
download | alacritty-c2e39085e3dfed6e4ea69ea30ed85dae1d81823c.tar.gz alacritty-c2e39085e3dfed6e4ea69ea30ed85dae1d81823c.zip |
Fix crash when selecting last column
This resolves a bug where the selection start would be set to the number
of columns, causing an out of bounds when trying to index with it.
Instead of extending the selection beyond the grid when the right side
of the last column is the start of the selection, the selection will now
start in the beginning of the next line.
Fixes #3446.
Diffstat (limited to 'font/src/ft/mod.rs')
0 files changed, 0 insertions, 0 deletions