fn change_text_mode(stdout: &mut Output) {
    let best_mode = stdout
        .modes()
        .last()
        .unwrap()
        .expect("Warnings encountered while querying text mode");
    stdout
        .set_mode(best_mode)
        .expect_success("Failed to change text mode");
}
// Switch to the maximum supported text mode.
Switch to the maximum supported text mode.
Switch to the maximum supported text mode .
fn change_text_mode(stdout: &mut Output) {
    let best_mode = stdout
        .modes()
        .last()
        .unwrap()
        .expect("Warnings encountered while querying text mode");
    stdout
        .set_mode(best_mode)
        .expect_success("Failed to change text mode");
}
fn change_text_mode ( stdout : & mut Output ) { let best_mode = stdout . modes ( ) . last ( ) . unwrap ( ) . expect ( " " ) ; stdout . set_mode ( best_mode ) . expect_success ( " " ) ; }
Switch to the maximum supported text mode.
Switch to the maximum supported text mode .
stdout
&mut Output