-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Press-Enter" prompt in headless mode #9358
Comments
Yeah, in |
I could fix it for my use case by checking |
justinmk
changed the title
Neovim appears to wait Enter in headless mode with errors
"Press-Enter" prompt in headless mode
Dec 16, 2018
glacambre
added a commit
to glacambre/neovim
that referenced
this issue
Jan 26, 2022
This commit fixes neovim#9358, where emitting multiple messages with 'echo' or a single one with 'echom' or 'echoerr' would result in a press-enter prompt that couldn't be dismissed by pressing enter. This requires adapting a few tests to spawn a UI before testing whether press-enter prompts are blocking. It also fixes neovim#11718, as when combined with neovim#15910 it enables making sure that neovim never blocks and emits messages on startup.
glacambre
added a commit
to glacambre/neovim
that referenced
this issue
Feb 5, 2022
This commit fixes neovim#9358, where emitting multiple messages with 'echo' or a single one with 'echom' or 'echoerr' would result in a press-enter prompt that couldn't be dismissed by pressing enter. This requires adapting a few tests to spawn a UI before testing whether press-enter prompts are blocking. It also fixes neovim#11718, as when combined with neovim#15910 it enables making sure that neovim never blocks and emits messages on startup.
glacambre
added a commit
to glacambre/neovim
that referenced
this issue
Feb 5, 2022
This commit fixes neovim#9358, where emitting multiple messages with 'echo' or a single one with 'echom' or 'echoerr' would result in a press-enter prompt that couldn't be dismissed by pressing enter. This requires adapting a few tests to spawn a UI before testing whether press-enter prompts are blocking. It also fixes neovim#11718, as when combined with neovim#15910 it enables making sure that neovim never blocks and emits messages on startup.
glacambre
added a commit
to glacambre/neovim
that referenced
this issue
Feb 5, 2022
This commit fixes neovim#9358, where emitting multiple messages with 'echo' or a single one with 'echom' or 'echoerr' would result in a press-enter prompt that couldn't be dismissed by pressing enter. This requires adapting a few tests to spawn a UI before testing whether press-enter prompts are blocking. It also fixes neovim#11718, as when combined with neovim#15910 it enables making sure that neovim never blocks and emits messages on startup.
glacambre
added a commit
to glacambre/neovim
that referenced
this issue
Feb 5, 2022
This commit fixes neovim#9358, where emitting multiple messages with 'echo' or a single one with 'echom' or 'echoerr' would result in a press-enter prompt that couldn't be dismissed by pressing enter. This requires adapting a few tests to spawn a UI before testing whether press-enter prompts are blocking. It also fixes neovim#11718, as when combined with neovim#15910 it enables making sure that neovim never blocks and emits messages on startup.
zbirenbaum
pushed a commit
to zbirenbaum/neovim
that referenced
this issue
Feb 11, 2022
This commit fixes neovim#9358, where emitting multiple messages with 'echo' or a single one with 'echom' or 'echoerr' would result in a press-enter prompt that couldn't be dismissed by pressing enter. This requires adapting a few tests to spawn a UI before testing whether press-enter prompts are blocking. It also fixes neovim#11718, as when combined with neovim#15910 it enables making sure that neovim never blocks and emits messages on startup.
dmitmel
pushed a commit
to dmitmel/neovim
that referenced
this issue
Apr 16, 2022
This commit fixes neovim#9358, where emitting multiple messages with 'echo' or a single one with 'echom' or 'echoerr' would result in a press-enter prompt that couldn't be dismissed by pressing enter. This requires adapting a few tests to spawn a UI before testing whether press-enter prompts are blocking. It also fixes neovim#11718, as when combined with neovim#15910 it enables making sure that neovim never blocks and emits messages on startup.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nvim --headless -c 'echoerr 1'
will display the error and appears to wait for the Enter from the hit-enter prompt:It does not handle any
Enter
presses though, andCtrl-C
is required to cancel it.Without
--headless
it will redraw the screen and displays:You can use
nvim --headless -c 'echoerr 1' -c q
to work around this, but Neovim should not hang there without-c q
already.The text was updated successfully, but these errors were encountered: