Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

ControlClient.Reconnect

Reconnect registers a replacement on the last attached session observed at a reply boundary, then closes the receiver. Failed replacement setup does not initiate receiver shutdown. If shutdown fails, Reconnect returns the live replacement with that error; the caller owns every non-nil result. A receiver whose stream ended cleanly can recover from its last observation. Commands are never replayed.

Source and package
Qualified name
tmux.ControlClient.Reconnect
Package
tmux
Declared in
ControlClient
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/control_lifecycle.go
Parameters
Esc

Type to search.

Reference previewOpen reference