Skip to main content

switch_remote

Function switch_remote 

Source
pub fn switch_remote(
    host: &str,
    lid: &str,
    local_pane: &str,
    zoom: bool,
) -> Result<(), String>
Expand description

Drive another host’s tmux AS A PEER, then bring the local client to its ssh pane.

In that order, so the pane is already showing the right window by the time the local client arrives in it. The other way round, a jump lands on whatever that host was last looking at and corrects itself a moment later.