mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
parent
18cf806a27
commit
5424b30d22
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ impl<T: GridCell + Default + PartialEq + Copy> Grid<T> {
|
|||
|
||||
// Remove wide char spacer before shrinking.
|
||||
let len = wrapped.len();
|
||||
if wrapped[len - 1].flags().contains(Flags::LEADING_WIDE_CHAR_SPACER) {
|
||||
if len > 0 && wrapped[len - 1].flags().contains(Flags::LEADING_WIDE_CHAR_SPACER) {
|
||||
if len == 1 {
|
||||
row[cols - 1].flags_mut().insert(Flags::WRAPLINE);
|
||||
new_raw.push(row);
|
||||
|
|
Loading…
Reference in a new issue