Struct crossterm::Context[][src]

pub struct Context { /* fields omitted */ }

Struct that stores the changed states of the terminal.

Methods

impl Context
[src]

Create new Context where the terminals states can be handled.

Restore all changes that are made to the terminal.

Register new changed state with the given key.

Undo an specific state by the given state key.

Auto Trait Implementations

impl !Send for Context

impl !Sync for Context