From e76aceaaf159e5553ac0cde9a6a0e4848a8ee658 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Jun 2021 13:56:37 +0100 Subject: [PATCH] otter cli: Switch to RawStdout for mgmtchannel proxy stdout Signed-off-by: Ian Jackson --- src/bin/otter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.30.2