async fn ask_resize(
        &mut self,
        stdout: &mut LockedStdout<'terminal>,
        min_size: Vec2,
    ) -> io::Result<()> {
        let buf = format!(
            "{}{}RESIZE {}x{}",
            crossterm::terminal::Clear(crossterm::terminal::ClearType::All),
            crossterm::cursor::MoveTo(0, 0),
            min_size.x,
            min_size.y,
        );

        stdout.write_and_flush(buf.as_bytes()).await?;

        Ok(())
    }
/// Asks the user to resize the screen (manually).
Asks the user to resize the screen (manually).
Asks the user to resize the screen ( manually ) .
async fn ask_resize(
        &mut self,
        stdout: &mut LockedStdout<'terminal>,
        min_size: Vec2,
    ) -> io::Result<()> {
        let buf = format!(
            "{}{}RESIZE {}x{}",
            crossterm::terminal::Clear(crossterm::terminal::ClearType::All),
            crossterm::cursor::MoveTo(0, 0),
            min_size.x,
            min_size.y,
        );
        stdout.write_and_flush(buf.as_bytes()).await?;
        Ok(())
    }
async fn ask_resize ( & mut self , stdout : & mut LockedStdout < ' terminal > , min_size : Vec2 , ) -> io :: Result < ( ) > { let buf = format ! ( " " crossterm terminal Clear ( crossterm terminal ClearType All ) crossterm cursor MoveTo ( 0 0 ) min_size x min_size y ) ; stdout . write_and_flush ( buf . as_bytes ( ) ) . await ? ; Ok ( ( ) ) }
Asks the user to resize the screen (manually).
Asks the user to resize the screen ( manually ) .
&mut self
stdout
&mut LockedStdout<'terminal>
min_size
Vec2
&mut self
stdout
&mut LockedStdout<'terminal>
min_size
Vec2