~kmaasrud/prompt

dd320ec15b1e85650b0091c93c604d81740bf20b — kmaasrud 1 year, 5 months ago a51bb2f
lock stdout
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +1 -1
@@ 9,7 9,7 @@ use std::io::BufWriter;
use std::io::{Error, Write};

fn main() -> Result<(), Error> {
    let mut stdout = BufWriter::new(std::io::stdout());
    let mut stdout = BufWriter::new(std::io::stdout().lock());

    faint(&mut stdout)?;
    nix::nix(&mut stdout)?;