Expand description
Backend trait and the UI-facing facade.
See §6 of terminal_crate_plan.md for the full design.
Modules§
- local
- Local PTY backend, spawning the user’s
$SHELLviaportable-pty. - mock
MockBackendfor tests. Replays scripted byte streams back to the UI and records bytes the widget sent. Used bytests/ssh_mock.rsand the ANSI handler tests.- ssh
- SSH backend using
russh. See §7 ofterminal_crate_plan.md.
Structs§
- Backend
Handle - UI-facing facade for a backend session.
Enums§
- Backend
Event - Event flowing from the runtime task to the UI.
- Close
Reason - Reason a backend session ended.
- Terminal
Status - Connection status for a backend, mirrored into the elegance pane header.
Traits§
- Terminal
Backend - A bidirectional byte stream tied to a remote or local shell, plus the orthogonal control operations a tty needs.