mirror of
https://github.com/neovim/neovim.git
synced 2025-10-19 08:11:50 +00:00
feat(ui)!: emit prompt "messages" as cmdline events #31525
Problem: Prompts are emitted as messages events, where cmdline events are more appropriate. The user input is also emitted as message events in fast context, so cannot be displayed with vim.ui_attach(). Solution: Prompt for user input through cmdline prompts.
This commit is contained in:
@@ -153,8 +153,7 @@ void do_debug(char *cmd)
|
||||
debug_break_level = -1;
|
||||
|
||||
xfree(cmdline);
|
||||
cmdline = getcmdline_prompt('>', NULL, 0, EXPAND_NOTHING, NULL,
|
||||
CALLBACK_NONE);
|
||||
cmdline = getcmdline_prompt('>', NULL, 0, EXPAND_NOTHING, NULL, CALLBACK_NONE, false, NULL);
|
||||
|
||||
debug_break_level = n;
|
||||
if (typeahead_saved) {
|
||||
|
Reference in New Issue
Block a user