diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-26 15:24:16 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-01 20:09:31 +0000 |
| commit | 7acdb3a0dd5633ac79aa7664df300b1fdbe715f0 (patch) | |
| tree | 4829dac899ff813f95b430d4f528f3015e27895b /terminal.h | |
| parent | doc: foot.ini: remove FONT FORMAT section, expand description of ‘font’ (diff) | |
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.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -261,6 +261,8 @@ struct terminal { int font_scale; enum fcft_subpixel font_subpixel; + struct fcft_glyph *box_drawing[160]; + bool is_sending_paste_data; ptmx_buffer_list_t ptmx_buffers; ptmx_buffer_list_t ptmx_paste_buffers; |
