aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-12-08 08:05:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-12-08 11:55:57 +0000
commit9a1b59adaec22434473789953884c9b6db58e9a5 (patch)
treea44c3c9c49c23fd41145d2a1b90972001c2b7ef1 /terminal.c
parentpgo: prefer full-headless-sway over full-headless-cage (diff)
box-drawings: implement octants
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c4
1 files changed, 4 insertions, 0 deletions
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);