Trait stijl::CLIStream [] [src]

pub trait CLIStream: Stream {
    fn rewind_lines(&mut self, count: u16) -> Result<()>;
fn get_size(&self) -> WinSize; }

A Stream connected to a command-line interface.

Required Methods

"Rewind" the stream so that the last count lines can be overwritten.

Panics if the Stream is not connected to a command-line window, that is, if Stream::is_cli() would return false.

The size of the command-line window.

Panics if the Stream is not connected to a command-line window, that is, if Stream::is_cli() would return false.

Implementations on Foreign Types

impl<'a> CLIStream for Box<CLIStream + 'a>
[src]

[src]

[src]

impl CLIStream for Box<LockableStream>
[src]

[src]

[src]

Implementors