From: Ian Jackson Date: Tue, 1 Jun 2021 12:56:37 +0000 (+0100) Subject: otter cli: Switch to RawStdout for mgmtchannel proxy stdout X-Git-Tag: otter-0.7.0~149 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e76aceaaf159e5553ac0cde9a6a0e4848a8ee658;p=otter.git otter cli: Switch to RawStdout for mgmtchannel proxy stdout Signed-off-by: Ian Jackson --- diff --git a/src/bin/otter.rs b/src/bin/otter.rs index 9359cd7a..11452d7f 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -1948,7 +1948,7 @@ mod mgmtchannel_proxy { .unwrap_or_else(|e| e.end_process(8)); }); let tresps = thread::spawn(move || { - io_copy_interactive(&mut read, &mut io::stdout()) + io_copy_interactive(&mut read, &mut RawStdout::new()) .map_err(|e| match e { Left(re) => AE::from(re).context("read resps from server"), Right(we) => AE::from(we).context("forward cmds to stdout"),