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 3e867a0560
Fix crashes with cut-off fullwidth characters
There's a few places in Alacritty where it was assumed that after a
WIDE_CHAR cell, there'd always be a WIDE_CHAR_SPACER. However since
resizes in the alternate screen buffer do not reflow any content, it's
possible to have a WIDE_CHAR without any WIDE_CHAR_SPACER right behind
it.

This patch changes these instances to be more defensive about accepting
potentially unreasonable input data caused by alt screen resizes.

Fixes #5185.
Fixes #5170.
2021-05-28 11:00:37 +00:00
..
src Fix crashes with cut-off fullwidth characters 2021-05-28 11:00:37 +00:00
tests Fix out of order terminal query responses 2021-04-17 23:20:13 +00:00
Cargo.toml Bump development version to 0.9.0-dev 2021-05-01 14:05:57 +00:00
LICENSE-APACHE Add license symlinks for crates 2020-10-17 14:47:51 +00:00