Struct tui::terminal::Terminal[][src]

pub struct Terminal<B> where
    B: Backend
{ /* fields omitted */ }

Interface to the terminal backed by Termion

Methods

impl<B> Terminal<B> where
    B: Backend
[src]

Wrapper around Termion initialization. Each buffer is initialized with a blank string and default colors for the foreground and the background

Builds a string representing the minimal escape sequences and characters set necessary to update the UI and writes it to stdout.

Updates the interface so that internal buffers matches the current size of the terminal. This leads to a full redraw of the screen.

Flushes the current internal state and prepares the interface for the next draw call

Trait Implementations

impl<B: Debug> Debug for Terminal<B> where
    B: Backend
[src]

Formats the value using the given formatter. Read more

impl<B> Drop for Terminal<B> where
    B: Backend
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<B> Send for Terminal<B> where
    B: Send

impl<B> Sync for Terminal<B> where
    B: Sync