helix-mods/helix-term/src
GabrielDertoni 9fae4b8118 fix: terminal freezing on shell_insert_output
This bug occurs on `shell_insert_output` and `shell_append_output`
commands.

The previous implementation would create a child process using the Rust
stdlib's `Command` builder. However, when nothing should be piped in
from the editor, the default value for `stdin` would be used. According
to the Rust stdlib documentation that is `Stdio::inherit` which will
make the child process inherit the parent process' stdin. This would
cause the terminal to freeze.

This change will set the child process' stdin to `Stdio::null` whenever
it doesn't pipe it. In the `if` statement where this change was made
there was an extra condition for windows that I am not sure if would
require some special treatment.
2022-10-25 20:24:44 -05:00
..
commands nit: Do less allocations in ui::menu::Item::label implementations 2022-10-21 07:42:33 -05:00
keymap Change diagnostic picker keybind to <space>d (#4229) 2022-10-17 16:45:42 +09:00
ui Render diagnostics in the file picker preview (#4324) 2022-10-25 21:03:35 +09:00
application.rs nit: move an allocation to happen after a continue, making sure it's 2022-10-21 07:42:33 -05:00
args.rs Fix confusion with using --hsplit --vsplit on startup at same time (#4202) 2022-10-11 09:25:42 -04:00
commands.rs fix: terminal freezing on shell_insert_output 2022-10-25 20:24:44 -05:00
compositor.rs Editor::flush_writes returns an error 2022-10-18 22:31:39 -04:00
config.rs Move top level lsp config to editor.lsp (#1868) 2022-03-28 10:11:52 +09:00
health.rs Show clipboard info in --health output (#2947) 2022-09-01 01:23:45 +09:00
job.rs remove Callback::Compositor variant 2022-10-18 22:31:39 -04:00
keymap.rs Improve keymap errors from command typos (#3931) 2022-09-22 09:30:42 +08:00
lib.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
main.rs document should save even if formatter fails 2022-10-18 22:31:39 -04:00