tmux

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachSession

func AttachSession(name string) error

AttachSession attaches to a tmux session (replaces current process)

func CreateSession

func CreateSession(name, workdir string) error

CreateSession creates a new detached tmux session

func KillSession

func KillSession(name string) error

KillSession kills a tmux session

func ListSessions

func ListSessions() ([]string, error)

ListSessions returns a list of active tmux session names

func SendKeys

func SendKeys(session, keys string) error

SendKeys sends keystrokes to a tmux session

func SessionExists

func SessionExists(name string) bool

SessionExists checks if a tmux session exists

func SwitchClient

func SwitchClient(targetSession string) error

SwitchClient switches the current client to another session (replaces current process)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL