Module branchless::testing::pty

source ·
Expand description

Utilities for testing in a virtual terminal (PTY).

Enums

  • An action to take as part of the PTY test script.

Constants

  • Terminal escape code corresponding to pressing the down arrow key.
  • Terminal escape code corresponding to pressing the up arrow key.

Functions

  • Run the provided script in the context of a virtual terminal.