Skip to main content

Module terminal

Module terminal 

Source

Structs§

Asciicast
AsciicastEvent
AsciicastHeader
BufferChange
A replayable ANSI update relative to the preceding sequence. Resize the receiving terminal before applying an update with reset set.
BufferFrame
TerminalBuffer
TerminalCapture
TerminalCaptureError
TerminalCaptureOptions
TerminalCursor
TerminalFrame
TerminalInteraction
TerminalResize
TerminalSession
A pseudoterminal that stays open until the caller closes it, so input may be sent long after the process started.
TerminalTrace
A trace event with the seconds elapsed since the capture started.
TerminalTraceCallback
Callback for TerminalCaptureOptions::on_trace. It runs on the thread driving the capture, so it should return quickly.

Enums§

TerminalArtifact
One file written to TerminalCaptureOptions::artifact_directory (issue #231). The names match the JS artifacts option.
TerminalKey
TerminalPattern
Readiness condition for TerminalSession::wait_for, mirroring the after / after_regex vocabulary of TerminalInteraction.
TerminalTraceEvent
What happened during a capture, reported to TerminalCaptureOptions::on_trace. The kinds match the JS onTrace event types (see TerminalTraceEvent::kind).

Functions§

capture_terminal
Run a command inside a real pseudoterminal and retain its settled TUI states.
capture_terminal_async
open_terminal
Open a terminal session that stays alive until the caller closes it.
read_asciicast
serialize_asciicast
unroll_terminal_frames