Crate termsnap_lib

source ·

Structs§

  • The unicode character and style of a single cell in the terminal grid.
  • A color in the sRGB color space.
  • A static snapshot of a terminal screen.
  • An in-memory terminal emulator.
  • A PtyWriter that ignores all responses.

Traits§

  • A sink for responses sent by the terminal emulator. The terminal emulator sends responses to ANSI requests. Implement this trait to process these responses, e.g., by sending them to the requesting pseudoterminal.

Functions§

  • Feed an ANSI sequence through a terminal emulator, returning the resulting terminal screen contents.