0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0513: may not be able to use a pattern ad the debug prompt

Problem:    May not be able to use a pattern ad the debug prompt.
Solution:   Temporarily disable the timeout. (closes #11164)
This commit is contained in:
Bram Moolenaar
2022-09-20 13:51:25 +01:00
parent c14bfc31d9
commit 9781d9c005
4 changed files with 34 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ do_debug(char_u *cmd)
msg_silent = FALSE; // display messages
emsg_silent = FALSE; // display error messages
redir_off = TRUE; // don't redirect debug commands
save_timeout_for_debugging(); // disable regexp timeout flag
State = MODE_NORMAL;
debug_mode = TRUE;
@@ -293,6 +294,7 @@ do_debug(char_u *cmd)
redraw_all_later(UPD_NOT_VALID);
need_wait_return = FALSE;
msg_scroll = save_msg_scroll;
restore_timeout_for_debugging();
lines_left = Rows - 1;
State = save_State;
debug_mode = FALSE;