aboutsummaryrefslogtreecommitdiff
path: root/box-drawing.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-23 15:35:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-25 13:53:29 +0000
commita36f67cbe311bebd9321fbf58773dace8128fcd7 (patch)
tree93ff896180bdf5c21cbe40445830f1d0fa124bbc /box-drawing.c
parentwayland: update terminals (fonts etc) on xdg_output_handle_done() (diff)
render: apply new baseline calculation everywhere
* URL jump labels * Scrollback position indicator * Line/box drawings characters Closes #1430
Diffstat (limited to 'box-drawing.c')
-rw-r--r--box-drawing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/box-drawing.c b/box-drawing.c
index 3962e341..07f415cb 100644
--- a/box-drawing.c
+++ b/box-drawing.c
@@ -3011,7 +3011,7 @@ box_drawing(const struct terminal *term, char32_t wc)
.cols = 1,
.pix = buf.pix,
.x = -term->font_x_ofs,
- .y = term->font_y_ofs + term->fonts[0]->ascent,
+ .y = term_font_baseline(term),
.width = width,
.height = height,
.advance = {