foot/box-drawing.h
Daniel Eklöf 7acdb3a0dd
box-drawing: add infrastructure for rendering box drawing characters ourselves
* ‘term’ struct contains an array of 160 fcft glyph pointers
* the glyph pointers are lazily allocated when we need to draw a box
  drawings character
* Filtering out box drawings characters is easy - they are (except
  unicode 13, which isn’t handled yet )all in a single range.
2021-01-01 21:09:31 +01:00

6 lines
122 B
C

#pragma once
#include <fcft/fcft.h>
struct terminal;
struct fcft_glyph *box_drawing(struct terminal *term, wchar_t wc);