diff options
Diffstat (limited to 'src/cmdline.c')
-rw-r--r-- | src/cmdline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmdline.c b/src/cmdline.c index 9e73e4e..018998e 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -923,10 +923,11 @@ teco_state_scintilla_symbols_process_edit_cmd(teco_machine_main_t *ctx, teco_mac : &teco_symbol_list_scilexer; g_auto(teco_string_t) new_chars, new_chars_escaped; gboolean unambiguous = teco_symbol_list_auto_complete(list, symbol, &new_chars); + + teco_machine_stringbuilding_escape(stringbuilding_ctx, new_chars.data, new_chars.len, &new_chars_escaped); /* - * FIXME: Does not escape `,`. Also, <^Q,> is not allowed currently? + * FIXME: Does not escape `,`. */ - teco_machine_stringbuilding_escape(stringbuilding_ctx, new_chars.data, new_chars.len, &new_chars_escaped); if (unambiguous) teco_string_append_c(&new_chars_escaped, ','); |