// Switch to the alternative screen
// Place the cursor at the bottom left
Switch to the alternative screen
Place the cursor at the bottom left
Switch to the alternative screen Place the cursor at the bottom left
pub fn change_screen() {
    p!("{}", termion::screen::ToAlternateScreen);
    g_set_altscreen(true);
    let size = termion::terminal_size().unwrap();
    let mut stdout = stdout().into_raw_mode().unwrap();
    write!(stdout, "{}", termion::cursor::Goto(1, size.1)).unwrap();
}
pub fn change_screen ( ) { p ! ( " " termion screen ToAlternateScreen ) ; g_set_altscreen ( true ) ; let size = termion :: terminal_size ( ) . unwrap ( ) ; let mut stdout = stdout ( ) . into_raw_mode ( ) . unwrap ( ) ; write ! ( stdout " " termion cursor Goto ( 1 size 1 ) ) . unwrap ( ) ; }
Switch to the alternative screen
Place the cursor at the bottom left
Switch to the alternative screen Place the cursor at the bottom left