pub fn read(&mut self, keybinding: impl Keybinding, mut renderer: impl Renderer) -> Result<()> {
        loop {
            renderer.draw(self)?;
            renderer.flush()?;

            if !keybinding.read(self)? {
                break;
            }
        }

        renderer.finish()?;

        Ok(())
    }
/// Activate the editor and renderer, and read the input.
Activate the editor and renderer, and read the input.
Activate the editor and renderer and read the input .
pub fn read(&mut self, keybinding: impl Keybinding, mut renderer: impl Renderer) -> Result<()> {
        loop {
            renderer.draw(self)?;
            renderer.flush()?;
            if !keybinding.read(self)? {
                break;
            }
        }
        renderer.finish()?;
        Ok(())
    }
pub fn read ( & mut self , keybinding : impl Keybinding , mut renderer : impl Renderer ) -> Result < ( ) > { loop { renderer . draw ( self ) ? ; renderer . flush ( ) ? ; if ! keybinding . read ( self ) ? { break ; } } renderer . finish ( ) ? ; Ok ( ( ) ) }
Activate the editor and renderer, and read the input.
Activate the editor and renderer and read the input .
&mut self
keybinding
impl Keybinding
renderer
impl Renderer
&mut self
keybinding
impl Keybinding
renderer
impl Renderer