Skip to main content

handle_tui_play

Function handle_tui_play 

Source
pub async fn handle_tui_play(
    signing_key: &SigningKey,
    cast_file: &Path,
    session_id: u32,
    loop_playback: bool,
) -> Result<()>
Expand description

Play an asciicast v2 recording in a TUI pane.

Reads the cast file, creates a CastPlayerApp, spawns it as a PaneProcess, and sends a SpawnProcess command to attach it to the active pane in the specified session.