mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
startup: Remove 'N files to edit' message. #5481
Problem: When '--embed' passed to command line arguments, stdin and stdout are used for IPC. But when multiple files are passed as arguments, nvim wrongly sends 'N files to edit' message to its stdout. As the result, attaching to process from frontend failed. Solution: Remove the message because it doesn't fill any purpose.
This commit is contained in:
parent
819b79dbc5
commit
79d77da8a0
@ -270,11 +270,6 @@ int main(int argc, char **argv)
|
||||
|
||||
setbuf(stdout, NULL);
|
||||
|
||||
/* This message comes before term inits, but after setting "silent_mode"
|
||||
* when the input is not a tty. */
|
||||
if (GARGCOUNT > 1 && !silent_mode)
|
||||
printf(_("%d files to edit\n"), GARGCOUNT);
|
||||
|
||||
full_screen = true;
|
||||
check_tty(¶ms);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user