mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
feat(api): support handling stdin stream in remote ui
This commit is contained in:
@@ -454,7 +454,7 @@ int main(int argc, char **argv)
|
||||
// writing end of the pipe doesn't like, e.g., in case stdin and stderr
|
||||
// are the same terminal: "cat | vim -".
|
||||
// Using autocommands here may cause trouble...
|
||||
if (params.edit_type == EDIT_STDIN && !recoverymode) {
|
||||
if ((params.edit_type == EDIT_STDIN || implicit_readstdin) && !recoverymode) {
|
||||
read_stdin();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user