From 9a1b59adaec22434473789953884c9b6db58e9a5 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 8 Dec 2024 09:05:41 +0100 Subject: box-drawings: implement octants --- terminal.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 2eceeda4..5532972e 100644 --- a/terminal.c +++ b/terminal.c @@ -808,6 +808,8 @@ term_set_fonts(struct terminal *term, struct fcft_font *fonts[static 4], &term->custom_glyphs.braille, GLYPH_BRAILLE_COUNT); free_custom_glyphs( &term->custom_glyphs.legacy, GLYPH_LEGACY_COUNT); + free_custom_glyphs( + &term->custom_glyphs.octants, GLYPH_OCTANTS_COUNT); const struct config *conf = term->conf; @@ -1827,6 +1829,8 @@ term_destroy(struct terminal *term) &term->custom_glyphs.braille, GLYPH_BRAILLE_COUNT); free_custom_glyphs( &term->custom_glyphs.legacy, GLYPH_LEGACY_COUNT); + free_custom_glyphs( + &term->custom_glyphs.octants, GLYPH_OCTANTS_COUNT); free(term->search.buf); free(term->search.last.buf); -- cgit v1.3