Module term

Source
Expand description

§Abstraction over the terminal

How the terminal should be handled. Controls stuff like:

  • Clearing the Screen
  • Moving the Cursor
  • Getting the size of screen, and detecting a change
  • Entering raw mode
  • Getting keys
  • Switching screen

In short, for most applications, the majority of the work will be done here.

§Example

Go to https://git.dumrich.com/zui/tree/examples

Modules§

cursor
Cursor manipulation in the terminal

Structs§

Terminal
Terminal control struct

Enums§

TermMode
Two possible modes for terminal: Cannonical and Raw