pub(crate) async fn new<'param>(
        data: &'param ScreenData,
    ) -> Screen<'terminal>
    where
        'param: 'terminal,
    {
        Self { data, buffer: data.buffer.lock().await }
    }
/// Creates a locked screen from a reference to the unlocked screen handle,
/// and a locked guard to the buffer.
Creates a locked screen from a reference to the unlocked screen handle,
and a locked guard to the buffer.
Creates a locked screen from a reference to the unlocked screen handle and a locked guard to the buffer .
pub(crate) async fn new<'param>(
        data: &'param ScreenData,
    ) -> Screen<'terminal>
    where
        'param: 'terminal,
    {
        Self { data, buffer: data.buffer.lock().await }
    }
pub ( crate ) async fn new < ' param > ( data : & ' param ScreenData , ) -> Screen < ' terminal > where ' param : ' terminal , { Self { data , buffer : data . buffer . lock ( ) . await } }
Creates a locked screen from a reference to the unlocked screen handle,
and a locked guard to the buffer.
Creates a locked screen from a reference to the unlocked screen handle and a locked guard to the buffer .
data
&'param ScreenData
data
&'param ScreenData