utls 0.12.10

A simple utilities library for stuff I actually use sometimes, with a large focus on convenience and lack of dependencies.
Documentation
1
2
3
4
5
6
7
8
9
use std::io::{stdout, Write};

#[allow(dead_code)]
pub fn cleanup_terminal() {
    // Show cursor and move to next line
    let mut stdout = stdout().lock();
    let _ = writeln!(stdout, "\x1B[?25h");
    let _ = stdout.flush();
}