diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-29 12:02:08 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-01 20:09:37 +0000 |
| commit | 25d2b03a5cdde5b0aec496cf9eed04aa570a58ca (patch) | |
| tree | eb23c0d3cd08628b1e7a43730a1bea18a506a16d /render.c | |
| parent | box-drawing: oops - remove accidental ‘x’ (diff) | |
box-drawing: SEXTANTS, U+1fb00-1fb3b
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -450,9 +450,10 @@ render_cell(struct terminal *term, pixman_image_t *pix, base = composed->base; } - if (unlikely(base >= 0x2500 && base <= 0x259f)) { + if (unlikely((base >= 0x2500 && base <= 0x259f) || + (base >= 0x1fb00 && base <= 0x1fb3b))) { /* Box drawing characters */ - size_t idx = base - 0x2500; + size_t idx = base >= 0x1fb00 ? base - 0x1fb00 + 160 : base - 0x2500; assert(idx < ALEN(term->box_drawing)); if (likely(term->box_drawing[idx] != NULL)) |
