Module server

Source
Expand description

Server management.

Functions§

default_command
Return the "default-command" used to start a pane, falling back to "default shell" if none.
kill_session
Remove the session named "[placeholder]" used to keep the server alive.
show_option
Return the value of a Tmux option. For instance, this can be used to get Tmux’s default command.
show_options
Return all Tmux options as a std::haosh::HashMap.
start
Start the Tmux server if needed, creating a session named "[placeholder]" in order to keep the server running.