mirror of https://github.com/xvxx/phetch
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
636 B
Rust
19 lines
636 B
Rust
4 years ago
|
//! The terminal module mostly provides terminal escape sequences for
|
||
|
//! things like clearing the screen or going into alternate mode.
|
||
|
//!
|
||
|
//! It wraps termion for now, but we may move away from termion in the
|
||
|
//! future and this will help.
|
||
|
|
||
|
use termion;
|
||
|
|
||
|
pub use termion::cursor::Goto;
|
||
|
pub use termion::cursor::Hide as HideCursor;
|
||
|
pub use termion::cursor::Show as ShowCursor;
|
||
|
|
||
|
pub use termion::screen::ToAlternateScreen;
|
||
|
pub use termion::screen::ToMainScreen;
|
||
|
|
||
|
pub use termion::clear::AfterCursor as ClearAfterCursor;
|
||
|
pub use termion::clear::CurrentLine as ClearCurrentLine;
|
||
|
pub use termion::clear::UntilNewline as ClearUntilNewline;
|