helix/helix-view
Michael Davis c3620b7116
Join input and wait tasks in external formatter Tokio command
This matches the layout of `shell_impl_async` in `commands.rs` and
avoids a hang or maybe deadlock in `to_writer`'s calls to
`tokio::io::AsyncWriteExt::write_all`. I don't really understand the
underlying cause of the hang but it seems it's necessary to spawn a
new tokio task to provide input to stdin. This is shown in an example
in `tokio::process::Child::wait` but not documented explicitly.
2025-02-01 10:58:03 -05:00
..
src Join input and wait tasks in external formatter Tokio command 2025-02-01 10:58:03 -05:00
tests/encoding Re-vendor encoding_rs test data 2024-11-13 15:30:17 +09:00
Cargo.toml Use a workspace dependency for bitflags 2025-01-13 18:26:31 -05:00