summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-03-04 09:48:53 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-03-04 09:48:53 -0500
commitc8fe98bf37f5364543b365d6d423a785c3c66452 (patch)
tree17b6fe875c7c1cdc8e6f1dd398dbcbe6bf8ad3b0 /ted.c
parent6ef4720bba8fcb90bcbdca5d7766b76816fc58c5 (diff)
completion working, it seems
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index 325755f..cc9eb06 100644
--- a/ted.c
+++ b/ted.c
@@ -103,6 +103,7 @@ static void ted_load_fonts(Ted *ted) {
// you can pass NULL to buffer to make it so no buffer is active.
void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer) {
ted->active_buffer = buffer;
+ ted->autocomplete = false;
if (ted->find) find_update(ted, true);
if (buffer >= ted->buffers && buffer < ted->buffers + TED_MAX_BUFFERS) {