mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: search box: fix glyph spacing
We're using the same font as in the terminal, so use the same glyph spacing.
This commit is contained in:
parent
9f7ea6292e
commit
fcb0e05009
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -754,7 +754,7 @@ render_search_box(struct terminal *term)
|
|||
glyph->width, glyph->height);
|
||||
pixman_image_unref(src);
|
||||
|
||||
x += glyph->width;
|
||||
x += term->cell_width;
|
||||
}
|
||||
|
||||
if (term->search.cursor >= term->search.len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue