diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-28 16:35:38 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-28 16:35:38 -0500 |
commit | 52fd5e0c95da236fd14682ed8a7cfa34afbab2c0 (patch) | |
tree | 4f8ca7df068983ad6aa2de38a7862a9bb607f258 /tags.c | |
parent | fb2a0b9998a599f9e8a9a1e911fd43345778f6ef (diff) |
set active_node to NULL when line buffer is active
Diffstat (limited to 'tags.c')
-rw-r--r-- | tags.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |