summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-03-03 20:14:51 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-03-03 20:14:51 -0500
commit6ef4720bba8fcb90bcbdca5d7766b76816fc58c5 (patch)
tree41a0d02884f182193ff41ccb23b7f66adf35404b /menu.c
parente3eb333ae2b07467e14dd9e2f845889f75f01a16 (diff)
more autocomplete (already partially working!)
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index 24a9af8..975ce15 100644
--- a/menu.c
+++ b/menu.c
@@ -44,6 +44,7 @@ static void menu_open(Ted *ted, Menu menu) {
if (ted->menu)
menu_close(ted);
if (ted->find) find_close(ted);
+ ted->autocomplete = false;
ted->menu = menu;
TextBuffer *prev_buf = ted->prev_active_buffer = ted->active_buffer;
if (prev_buf)