diff options
Diffstat (limited to 'src/nvim/debugger.c')
-rw-r--r-- | src/nvim/debugger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/debugger.c b/src/nvim/debugger.c index 3e0cf82740..e7c376621b 100644 --- a/src/nvim/debugger.c +++ b/src/nvim/debugger.c @@ -114,6 +114,7 @@ void do_debug(char *cmd) for (;;) { msg_scroll = true; need_wait_return = false; + // Save the current typeahead buffer and replace it with an empty one. // This makes sure we get input from the user here and don't interfere // with the commands being executed. Reset "ex_normal_busy" to avoid |