From a0c79aa87bdd88876f8514b4e6a75e96da87002d Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 4 Nov 2024 08:52:13 +0000 Subject: [PATCH] Do not make padding cells extended (there can be a lot of them), from Alexander Arch . --- grid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grid.c b/grid.c index a87a2376..447c2712 100644 --- a/grid.c +++ b/grid.c @@ -84,7 +84,7 @@ grid_need_extended_cell(const struct grid_cell_entry *gce, return (1); if (gc->attr > 0xff) return (1); - if (gc->data.size != 1 || gc->data.width != 1) + if (gc->data.size > 1 || gc->data.width > 1) return (1); if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB)) return (1);