pub fn new(
        history: &'t mut dyn TextBuffer,
        history_index: &'t mut usize,
        buffer: &'t mut dyn TextBuffer,
    ) -> Self {
        Self {
            history,
            history_index,
            buffer,
            hint_text: Default::default(),
            id: None,
            id_source: None,
            text_style: Some(TextStyle::Monospace),
            text_color: None,
            layouter: None,
            frame: true,
            interactive: true,
            desired_width: None,
            desired_history_height_rows: 8,
            desired_buffer_height_rows: 3,
            lock_focus: true,
            cursor_at_end: true,
        }
    }
/// A REPL/console which accepts
A REPL/console which accepts
A REPL / console which accepts
pub fn new(
        history: &'t mut dyn TextBuffer,
        history_index: &'t mut usize,
        buffer: &'t mut dyn TextBuffer,
    ) -> Self {
        Self {
            history,
            history_index,
            buffer,
            hint_text: Default::default(),
            id: None,
            id_source: None,
            text_style: Some(TextStyle::Monospace),
            text_color: None,
            layouter: None,
            frame: true,
            interactive: true,
            desired_width: None,
            desired_history_height_rows: 8,
            desired_buffer_height_rows: 3,
            lock_focus: true,
            cursor_at_end: true,
        }
    }
pub fn new ( history : & ' t mut dyn TextBuffer , history_index : & ' t mut usize , buffer : & ' t mut dyn TextBuffer , ) -> Self { Self { history , history_index , buffer , hint_text : Default :: default ( ) , id : None , id_source : None , text_style : Some ( TextStyle :: Monospace ) , text_color : None , layouter : None , frame : true , interactive : true , desired_width : None , desired_history_height_rows : 8 , desired_buffer_height_rows : 3 , lock_focus : true , cursor_at_end : true , } }
A REPL/console which accepts
A REPL / console which accepts
history
&'t mut dyn TextBuffer
history_index
&'t mut usize
buffer
&'t mut dyn TextBuffer
history
&'t mut dyn TextBuffer
history_index
&'t mut usize
buffer
&'t mut dyn TextBuffer