mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 18:38:48 +00:00
Do not make padding cells extended (there can be a lot of them), from
Alexander Arch .
This commit is contained in:
parent
c8bd42de16
commit
a0c79aa87b
2
grid.c
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user