From 1f300e08b8c0c35b2f3d79506ae9817cd8591624 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 29 May 2018 07:22:15 +0200 Subject: win/startup: remove --literal Fixes 2 failing tests in startup_spec.lua. The Windows-only `--literal` option complicates support of "stdin-as-text + file-args" (#7679). Could work around it, but it's not worth the trouble: - users have a reasonable (and englightening) alternative: nvim +"n *" - "always literal" is more consistent/predictable - avoids platform-specific special-case Unrelated changes: - Replace fileno(stdxx) with STDXX_FILENO for consistency (not motivated by any observed technical reason). --- src/nvim/os/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/os/input.c') diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c index c999396a6a..dd44df2c3c 100644 --- a/src/nvim/os/input.c +++ b/src/nvim/os/input.c @@ -50,7 +50,7 @@ void input_init(void) input_buffer = rbuffer_new(INPUT_BUFFER_SIZE + MAX_KEY_CODE_LEN); } -/// File (set at startup) used to read user-input (or commands for -e/-es). +/// This is the global stream of user-input (or Ex-commands for "-es"). int input_global_fd(void) { return global_fd; -- cgit