fn tty_window_size() -> io::Result<(u16, u16)> {
    io::stdout().write_all(b"\x1b[999C\x1b[999B")?;
    io::stdout().flush()?;
    get_cursor_position()
}
/// Get window size using vt100 codes
///
/// # Return value
/// Return the (height, width) of the terminal or an error
Get window size using vt100 codes
Get window size using vt100 codes
fn tty_window_size() -> io::Result<(u16, u16)> {
    io::stdout().write_all(b"\x1b[999C\x1b[999B")?;
    io::stdout().flush()?;
    get_cursor_position()
}
fn tty_window_size ( ) -> io :: Result < ( u16 , u16 ) > { io :: stdout ( ) . write_all ( b" \x1b \x1b " ) ? ; io :: stdout ( ) . flush ( ) ? ; get_cursor_position ( ) }
Get window size using vt100 codes
Get window size using vt100 codes
return value
Return the (height, width) of the terminal or an error
Return the ( height width ) of the terminal or an error