aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/channel.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-06-10 13:24:45 -0400
committerGitHub <noreply@github.com>2020-06-10 13:24:45 -0400
commitdcd6cf5f3409f5fdab03bc82887efea02a597f3b (patch)
treed65d1445fcf8befb2ea556b180bd3d05019f7bc1 /src/nvim/channel.c
parentd8c5d122f1ba95bc71a78c5d70465bfa88623bd7 (diff)
parentd17e38e48209c19b63d809c5b807613f15aa03c8 (diff)
downloadrneovim-dcd6cf5f3409f5fdab03bc82887efea02a597f3b.tar.gz
rneovim-dcd6cf5f3409f5fdab03bc82887efea02a597f3b.tar.bz2
rneovim-dcd6cf5f3409f5fdab03bc82887efea02a597f3b.zip
Merge pull request #11819 from erw7/fix-dot-net-stdin
[RDY] win: make UV_OVERLAPPED_PIPE optional
Diffstat (limited to 'src/nvim/channel.c')
-rw-r--r--src/nvim/channel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/channel.c b/src/nvim/channel.c
index 5eb29a7290..37cbfb968b 100644
--- a/src/nvim/channel.c
+++ b/src/nvim/channel.c
@@ -301,7 +301,8 @@ static void close_cb(Stream *stream, void *data)
/// @returns [allocated] channel
Channel *channel_job_start(char **argv, CallbackReader on_stdout,
CallbackReader on_stderr, Callback on_exit,
- bool pty, bool rpc, bool detach, const char *cwd,
+ bool pty, bool rpc, bool overlapped, bool detach,
+ const char *cwd,
uint16_t pty_width, uint16_t pty_height,
char *term_name, char **env, varnumber_T *status_out)
{
@@ -342,6 +343,7 @@ Channel *channel_job_start(char **argv, CallbackReader on_stdout,
proc->detach = detach;
proc->cwd = cwd;
proc->env = env;
+ proc->overlapped = overlapped;
char *cmd = xstrdup(proc->argv[0]);
bool has_out, has_err;