server/panes/grid: Fix whitespace error

This commit is contained in:
har7an 2022-10-20 16:06:04 +00:00 committed by GitHub
parent d8fcaf8e05
commit 27c875b568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1195,7 +1195,7 @@ impl Grid {
let character_width = terminal_character.width;
// Drop zero-width Unicode/UTF-8 codepoints, like for example Variation Selectors.
// This breaks unicode grapheme segmentation, and is the reason why some characters
// aren't displayed correctly. Refer to this issue for more information:
// aren't displayed correctly. Refer to this issue for more information:
// https://github.com/zellij-org/zellij/issues/1538
if character_width == 0 {
return;