Skip to content

Commit

Permalink
Don't line-buffer when writing to commands
Browse files Browse the repository at this point in the history
This seems to be one of the main issues outlined in #98
  • Loading branch information
ezrosent committed Mar 21, 2023
1 parent 7c49f31 commit 3f37438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/writers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl<F: FileFactory> Root for RootImpl<F> {
let global_name = local_name.clone();
let handle = build_handle(
move |_| local_factory.cmd(&*local_name),
/*is_stdout=*/ true,
/*is_stdout=*/ false,
);
let _old = cmds.insert(global_name, handle.clone());
debug_assert!(
Expand Down

0 comments on commit 3f37438

Please sign in to comment.