Module window

Source
Expand description

This module provides a few types and functions to handle Tmux windows.

The main use cases are running Tmux commands & parsing Tmux window information.

Structs§

Window
A Tmux window.

Functions§

available_windows
Return a list of all Window from all sessions.
new_window
Create a Tmux window in a session exactly named as the passed session.
select_window
Select (make active) the window with window_id.
set_layout
Apply the provided layout to the window with window_id.