/// Create a new Buffer with default values.
Create a new Buffer with default values.
Create a new Buffer with default values .
pub fn new() -> Buffer {
        Buffer {
            raw_buffer: SplitBuffer::new(),
            current_cursor: 0,
            cursors: vec![Cursor::new()],
            scroll_x: 0,
            scroll_y: 0,
            title: None,
            is_transient: false,
        }
    }
pub fn new ( ) -> Buffer { Buffer { raw_buffer : SplitBuffer :: new ( ) , current_cursor : 0 , cursors : vec ! [ Cursor new ( ) ] , scroll_x : 0 , scroll_y : 0 , title : None , is_transient : false , } }
Create a new Buffer with default values.
Create a new Buffer with default values .