mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
Merge pull request #17199 from glacambre/fix_9358
fix(--headless): do not block on press-enter prompts when no UI
This commit is contained in:
@@ -1094,6 +1094,10 @@ void wait_return(int redraw)
|
||||
return;
|
||||
}
|
||||
|
||||
if (headless_mode && !ui_active()) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* When inside vgetc(), we can't wait for a typed character at all.
|
||||
* With the global command (and some others) we only need one return at
|
||||
|
Reference in New Issue
Block a user