Do not make padding cells extended (there can be a lot of them), from

Alexander Arch .
This commit is contained in:
nicm 2024-11-04 08:52:13 +00:00
parent c8bd42de16
commit a0c79aa87b

2
grid.c
View File

@ -84,7 +84,7 @@ grid_need_extended_cell(const struct grid_cell_entry *gce,
return (1); return (1);
if (gc->attr > 0xff) if (gc->attr > 0xff)
return (1); return (1);
if (gc->data.size != 1 || gc->data.width != 1) if (gc->data.size > 1 || gc->data.width > 1)
return (1); return (1);
if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB)) if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB))
return (1); return (1);