diff options
author | Kyle L. Davis | 2022-08-12 02:27:18 +0000 |
---|---|---|
committer | GitHub | 2022-08-12 02:27:18 +0000 |
commit | 21f2affa16b01f48ee88a6070ae492537b8360e3 (patch) | |
tree | bcce0f04da1c54bb0971357e9c9914defb5afc8a /helix-term | |
parent | 7559b77d531ce12a890288ee04a45b5d3bc0c88a (diff) |
Fix conditional setting of stdin handle on Windows (#3379)
* Revert 3121353c6ab2fbc5fced28f075c7fc45b53b661e
* Switch to conditional compilation
* Run formatter
* Switch from conditional compilation to compile-time bool
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 17d908a8..f1cc5966 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -4559,7 +4559,7 @@ fn shell_impl( .stdout(Stdio::piped()) .stderr(Stdio::piped()); - if input.is_some() { + if input.is_some() || cfg!(windows) { process.stdin(Stdio::piped()); } |