From 52fd5e0c95da236fd14682ed8a7cfa34afbab2c0 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Sun, 28 Feb 2021 16:35:38 -0500 Subject: set active_node to NULL when line buffer is active --- tags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tags.c') diff --git a/tags.c b/tags.c index 4412533..119a510 100644 --- a/tags.c +++ b/tags.c @@ -194,7 +194,7 @@ static void tag_selector_open(Ted *ted) { arr_add(ted->tag_selector_entries, strn_dup(line, len)); } } - ted->active_buffer = &ted->line_buffer; + ted_switch_to_buffer(ted, &ted->line_buffer); buffer_select_all(ted->active_buffer); ted->tag_selector.cursor = 0; -- cgit v1.2.3