diff options
Diffstat (limited to 'autocomplete.c')
-rw-r--r-- | autocomplete.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autocomplete.c b/autocomplete.c index 9166ea1..1271fba 100644 --- a/autocomplete.c +++ b/autocomplete.c @@ -288,6 +288,8 @@ static char symbol_kind_icon(SymbolKind k) { static void autocomplete_frame(Ted *ted) { Autocomplete *ac = &ted->autocomplete; + if (!ac->open) return; + TextBuffer *buffer = ted->active_buffer; Font *font = ted->font; float char_height = text_font_char_height(font); |