package
0.0.0-20250107003733-2ff367315d1a
Repository: https://github.com/winter-again/flow.git
Documentation: pkg.go.dev
# Functions
Cmd runs a tmux command with given args; returns stdout and stderr.
GetCurrentServer retrieves the server for the current session.
GetDefaultSocket returns default tmux socket name and path.
InsideTmux checks if $TMUX environment var is set, meaning running inside tmux.
IsValidPath checks if a given session name is actually a valid path.
NewServer creates Server spec based on socket name or path or just the default.