diff options
| author | bfredl <bjorn.linse@gmail.com> | 2022-05-02 21:10:01 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2022-12-31 13:25:26 +0100 |
| commit | 43e8ec92de9e0850e7d202cb7ff9051bc408447e (patch) | |
| tree | fcaef65604e05fb9cc34cf7543c7d92af9c38dcf /src/nvim/event/libuv_process.c | |
| parent | 24488169564c39a506c235bf6a33b8e23a8cb528 (diff) | |
| download | rneovim-43e8ec92de9e0850e7d202cb7ff9051bc408447e.tar.gz rneovim-43e8ec92de9e0850e7d202cb7ff9051bc408447e.tar.bz2 rneovim-43e8ec92de9e0850e7d202cb7ff9051bc408447e.zip | |
fix(tui): more work in the TUI
Diffstat (limited to 'src/nvim/event/libuv_process.c')
| -rw-r--r-- | src/nvim/event/libuv_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/event/libuv_process.c b/src/nvim/event/libuv_process.c index cf4ff16c4d..811d96ff93 100644 --- a/src/nvim/event/libuv_process.c +++ b/src/nvim/event/libuv_process.c @@ -47,8 +47,8 @@ int libuv_process_spawn(LibuvProcess *uvproc) uvproc->uvstdio[1].flags = UV_IGNORE; uvproc->uvstdio[2].flags = UV_IGNORE; - // TODO: this should just be single flag! - if (TUI_process && !is_remote_client && !stdin_isatty) { + if (ui_client_forward_stdin) { + assert(UI_CLIENT_STDIN_FD == 3); uvproc->uvopts.stdio_count = 4; uvproc->uvstdio[3].data.fd = 0; uvproc->uvstdio[3].flags = UV_INHERIT_FD; |