don't render wide char trailers

This commit is contained in:
Mitchell Hashimoto
2022-08-20 17:17:13 -07:00
parent 28072157d5
commit 561bbca053

View File

@ -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;