mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
render: don't try to render glyph for empty cell(s)
This commit is contained in:
parent
28f7ab5130
commit
e2bdda8c61
1 changed files with 3 additions and 0 deletions
3
main.c
3
main.c
|
|
@ -132,6 +132,9 @@ grid_render_update(struct context *c, struct buffer *buf, const struct damage *d
|
|||
cairo_rectangle(buf->cairo, x, y, width, height);
|
||||
cairo_fill(buf->cairo);
|
||||
|
||||
if (cell->c[0] == '\0' || cell->c[0] == ' ')
|
||||
continue;
|
||||
|
||||
if (cell->attrs.conceal)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue