diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-07-30 11:17:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-07-30 11:17:31 +0000 |
| commit | 89d0fe561f733ed54e31256c4c411afc9e9000f6 (patch) | |
| tree | 3199d56c7eca813a69c0bd57aa5deee8da2b6c71 /box-drawing.c | |
| parent | meson: bump version to 1.15.1 (diff) | |
| parent | --window-size-chars: ensure width/height are valid for current scaling factor (diff) | |
Merge branch 'master' into releases/1.15
Diffstat (limited to 'box-drawing.c')
| -rw-r--r-- | box-drawing.c | 2 |
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 = { |
