From 561bbca053c3d7cfc762fc12c7d4d419e1b8ae2e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 20 Aug 2022 17:17:13 -0700 Subject: [PATCH] don't render wide char trailers --- src/Grid.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Grid.zig b/src/Grid.zig index 605f7be61..1c89771fb 100644 --- a/src/Grid.zig +++ b/src/Grid.zig @@ -510,6 +510,9 @@ pub fn updateCell( break :colors res; }; + // If we are a trailing spacer, we never render anything. + if (cell.attrs.wide_spacer_tail == 1) return true; + // Calculate the amount of space we need in the cells list. const needed = needed: { var i: usize = 0;