Crate libterm

source ·
Expand description

A basic terminal emulator library.

The terminal has several main responsibilities:

  • Managing the scrollback buffer, a string of characters that should be printed to the screen.
  • Determining which parts of that buffer should be displayed and using the window manager to do so.
  • Handling the command line user input.
  • Displaying the cursor at the right position
  • Handling events delivered from the window manager.

Modules

Structs

  • An instance of a graphical terminal emulator.

Enums

  • Error type for tracking different scroll errors that a terminal application could encounter.

Constants