[−][src]Module phetch::terminal
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.
Structs
ClearAfterCursor | Clear everything after the cursor. |
ClearCurrentLine | Clear the current line. |
ClearUntilNewline | Clear from cursor to newline. |
Goto | Goto some position ((1,1)-based). |
HideCursor | Hide the cursor. |
ShowCursor | Show the cursor. |
ToAlternateScreen | Switch to the alternate screen buffer of the terminal. |
ToMainScreen | Switch to the main screen buffer of the terminal. |