Skip to main content

Crate term_session_client

Crate term_session_client 

Source

Structs§

RemotePane
TerminalGuard
Guard that restores the terminal (leave alternate screen, show cursor, disable bracketed paste) when dropped. Generic over W so tests can inject a Vec<u8> writer and verify the teardown sequences.

Functions§

init_terminal
Initialize terminal for TUI mode: write startup escape sequences (alternate screen, hide cursor, bracketed paste, mouse capture) to the given writer, enable raw mode on stdin, and return a guard that restores the terminal on drop.
render_frame
run_session
Connect to a term-session gateway and run the TUI viewer for channel.