mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 20:20:42 +00:00
input: rename input_{start,stop}_stdin()
- "stdin" is misleading because it may read from stdout or stderr - also remove some unused includes
This commit is contained in:
@@ -279,7 +279,7 @@ int main(int argc, char **argv)
|
||||
// read the "-" file (eg: cat file | nvim -)
|
||||
fd = params.err_isatty ? fileno(stderr) : fileno(stdout);
|
||||
}
|
||||
input_start_stdin(fd);
|
||||
input_start(fd);
|
||||
}
|
||||
|
||||
// open terminals when opening files that start with term://
|
||||
@@ -386,8 +386,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (!params.headless) {
|
||||
// Stop reading from stdin, the UI layer will take over now
|
||||
input_stop_stdin();
|
||||
// Stop reading from input stream, the UI layer will take over now.
|
||||
input_stop();
|
||||
ui_builtin_start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user