Skip to main content

Module key

Module key 

Source
Expand description

The keystroke vocabulary a key-driven Terminal yields.

Key is rskit’s own, minimal key abstraction so no third-party terminal type (crossterm, termion, …) leaks into the public prompt surface. The rich terminal maps platform events onto it; the scripted terminal feeds canned sequences of it in tests.

Enums§

Key
A single decoded keystroke from an interactive terminal.