Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed hang issue with --headless and -r option specified (neovim#12209)
* fixed hang issue with --headless and -r option specified Calling the do_more_prompt function in headless mode will freeze neovim because it is eventally in the input-accepting state (the same as waiting for --more--). * fixed "Press ENTER or type command to continue" to be suppressed If in headless mode, we need to exit at this point. If we continue, we will enter the normal mode and the message "Press ENTER or type command to continue" will be displayed and we will be in the input waiting state. * fixed functional ex_cmds tests * Revert "fixed "Press ENTER or type command to continue" to be suppressed" This reverts commit a02dc40. * Revert "fixed functional ex_cmds tests" This reverts commit 3bdb8da. * fixed conditional again * added test for fixed hang issue with --headless (neovim#11386) (cherry picked from commit c6dc397)
- Loading branch information