Struct termfest::ScreenLock [] [src]

pub struct ScreenLock<'a> { /* fields omitted */ }

ScreenLock is a locked screen buffer, created by Termfest::lock_screen. When it is dropped, the buffered state will be flushed to the terminal. All rendering manipulation is implemented in ScreenLock.

Methods

impl<'a> ScreenLock<'a>
[src]

[src]

flushes the internal buffer states to the terminal. Even if this function is not called, the buffer will be flushed when self is dropped.

[src]

clear the internal buffer states. If clear and flush is called, the terminal will be cleared (nothing will be rendered).

[src]

[src]

[src]

[src]

print string with the given attribute. It is equal to put_cell calls with each character.

[src]

[src]

returns the width and height of the terminal.

Trait Implementations

impl<'a> Drop for ScreenLock<'a>
[src]

[src]

Executes the destructor for this type. Read more