pub fn with_size(size: Size) -> MemoryTerminal {
        MemoryTerminal{
            read: Arc::new(Mutex::new(Reader::new())),
            write: Arc::new(Mutex::new(Writer::new(size))),
        }
    }
/// Returns a new `MemoryTerminal` with the given buffer size.
///
/// # Panics
///
/// If either of the `lines` or `columns` fields are `0`.
Returns a new `MemoryTerminal` with the given buffer size.
Returns a new ` MemoryTerminal ` with the given buffer size .
pub fn with_size(size: Size) -> MemoryTerminal {
        MemoryTerminal{
            read: Arc::new(Mutex::new(Reader::new())),
            write: Arc::new(Mutex::new(Writer::new(size))),
        }
    }
pub fn with_size ( size : Size ) -> MemoryTerminal { MemoryTerminal { read : Arc :: new ( Mutex :: new ( Reader :: new ( ) ) ) , write : Arc :: new ( Mutex :: new ( Writer :: new ( size ) ) ) , } }
Returns a new `MemoryTerminal` with the given buffer size.
Returns a new ` MemoryTerminal ` with the given buffer size .
size
Size
size
Size
panics
If either of the `lines` or `columns` fields are `0`.
If either of the ` lines ` or ` columns ` fields are ` 0 ` .