diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-05-28 11:00:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 11:00:37 +0000 |
commit | 3e867a056018c507d79396cb5c5b4b8309c609c2 (patch) | |
tree | 55464f2ff6791c348808750b89a73445343d7645 /README.md | |
parent | 3c61e075fef7b02ae0d043e4a4e664b8bc7221e9 (diff) | |
download | alacritty-3e867a056018c507d79396cb5c5b4b8309c609c2.tar.gz alacritty-3e867a056018c507d79396cb5c5b4b8309c609c2.zip |
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.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions