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.
is_nested_session_fatal
Returns true if an io::Error was caused by session inception detection.
nested_session_fatal_error
Create a nesting-inception fatal error branded with the given app name.
render_frame
run_session
Connect to a term-session gateway and run the TUI viewer for channel.