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:
Daniel Eklöf 2019-08-30 19:35:47 +02:00
parent 9f7ea6292e
commit fcb0e05009
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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)