Documentation
¶
Overview ¶
Package tmux lists and creates tmux sessions on the machine Eta runs on. Eta only ever asks tmux about itself; attaching happens by running tmux inside a normal Eta terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrUnavailable means tmux is not installed here. It is deliberately distinct from "no sessions": a machine that cannot run tmux should say so rather than appear to have an empty list.
Functions ¶
func AttachArgv ¶
AttachArgv is the command a terminal runs to land inside a session. new-session -A attaches if it exists and creates it otherwise, so a session that disappeared between listing and opening does not leave the user staring at an error.
Types ¶
Click to show internal directories.
Click to hide internal directories.