mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-19 05:33:44 -04:00
render: implement 'conceal' attribute
This commit is contained in:
parent
9c9ad48745
commit
7ec746e826
1 changed files with 3 additions and 0 deletions
3
main.c
3
main.c
|
|
@ -124,6 +124,9 @@ grid_render_update(struct context *c, struct buffer *buf, const struct damage *d
|
||||||
cairo_rectangle(buf->cairo, x, y, width, height);
|
cairo_rectangle(buf->cairo, x, y, width, height);
|
||||||
cairo_fill(buf->cairo);
|
cairo_fill(buf->cairo);
|
||||||
|
|
||||||
|
if (cell->attrs.conceal)
|
||||||
|
continue;
|
||||||
|
|
||||||
cairo_glyph_t *glyphs = NULL;
|
cairo_glyph_t *glyphs = NULL;
|
||||||
int num_glyphs = 0;
|
int num_glyphs = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue