From: Ian Jackson Date: Tue, 1 Jun 2021 12:58:02 +0000 (+0100) Subject: otter cli: Switch to CookedStdout for list-ssh-keys X-Git-Tag: otter-0.7.0~147 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4d59ff19592fa8f497a2f118ac7b537476e21d30;p=otter.git otter cli: Switch to CookedStdout for list-ssh-keys Signed-off-by: Ian Jackson --- diff --git a/src/bin/otter.rs b/src/bin/otter.rs index f930454a..24888ad2 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -2144,7 +2144,7 @@ mod list_ssh_keys { use sshkeys::*; - let mut out = BufWriter::new(io::stdout()); + let mut out = CookedStdout::new(); // find the one we're using now