Skip to main content

Module sterm

Module sterm 

Source
Expand description

Serial terminal implementation.

Provides an interactive serial terminal for communication with embedded devices and development boards. Async terminal core shared by local serial, remote websocket, and process I/O.

Press Ctrl+A followed by x to exit when the exit sequence is enabled.

Structs§

AsyncTerminal
TerminalConfig
TerminalHandle

Enums§

TerminalAction

Functions§

encode_key_event
encode_mouse_event
Encode a crossterm MouseEvent as SGR mouse escape bytes (\x1b[<Cb;Cx;CyM/m).
restore_terminal_mode