aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/input.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-05-29 07:22:15 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-06-04 02:09:27 +0200
commit1f300e08b8c0c35b2f3d79506ae9817cd8591624 (patch)
tree26894f80f6b8d37209d492602c37205ce126380d /src/nvim/os/input.c
parent4211255c755513aa91d4a9277b69b557fc6658ee (diff)
downloadrneovim-1f300e08b8c0c35b2f3d79506ae9817cd8591624.tar.gz
rneovim-1f300e08b8c0c35b2f3d79506ae9817cd8591624.tar.bz2
rneovim-1f300e08b8c0c35b2f3d79506ae9817cd8591624.zip
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).
Diffstat (limited to 'src/nvim/os/input.c')
-rw-r--r--src/nvim/os/input.c2
1 files changed, 1 insertions, 1 deletions
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;