From fcb0e050094f9d864afd958537e11cedb13e40dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 30 Aug 2019 19:35:47 +0200 Subject: [PATCH] render: search box: fix glyph spacing We're using the same font as in the terminal, so use the same glyph spacing. --- render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.c b/render.c index 0be0d3d4..1611b972 100644 --- a/render.c +++ b/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)