Struct indicatif::Term [] [src]

pub struct Term { /* fields omitted */ }

Abstraction around a terminal.

Methods

impl Term
[src]

[src]

Return a new unbuffered terminal

[src]

Return a new unbuffered terminal to stderr

[src]

Return a new buffered terminal

[src]

Return a new buffered terminal to stderr

[src]

Writes a string to the terminal and adds a newline.

[src]

Flushes

[src]

Checks if the terminal is indeed a terminal.

[src]

Returns the terminal size or gets sensible defaults.

[src]

Returns the terminal size in rows and columns.

If the size cannot be reliably determined None is returned.

[src]

Moves the cursor up n lines

[src]

Moves the cursor down n lines

[src]

Clears the current line.

[src]

Clear the last n lines.

Trait Implementations

impl AsRawFd for Term
[src]

[src]

Extracts the raw file descriptor. Read more