API Reference¶
- Properties
- Servers
Server
child_id_attribute
formatter_prefix
__init__()
socket_name
socket_path
config_file
colors
is_alive()
raise_if_dead()
cmd()
attached_sessions
has_session()
kill()
kill_session()
switch_client()
attach_session()
new_session()
sessions
windows
panes
kill_server()
_list_panes()
getenv()
remove_environment()
set_environment()
show_environment()
unset_environment()
_update_panes()
get_by_id()
where()
find_where()
_list_windows()
_update_windows()
_sessions
_list_sessions()
list_sessions()
children
- Sessions
Session
refresh()
from_session_id()
windows
panes
cmd()
set_option()
show_options()
show_option()
select_window()
active_pane
active_window
attach()
kill()
switch_client()
rename_session()
new_window()
kill_window()
id
name
attached_pane
attached_window
attach_session()
kill_session()
get()
get_by_id()
where()
find_where()
_list_windows()
_windows
list_windows()
children
__init__()
getenv()
remove_environment()
set_environment()
show_environment()
unset_environment()
- Windows
Window
refresh()
from_window_id()
session
panes
cmd()
select_pane()
split()
resize()
last_pane()
select_layout()
set_window_option()
show_window_options()
show_window_option()
rename_window()
kill()
move_window()
new_window()
select()
active_pane
id
name
index
height
width
split_window()
attached_pane
select_window()
kill_window()
get()
get_by_id()
where()
find_where()
_list_panes()
_panes
list_panes()
children
__init__()
- Panes
- Constants
- Utilities
- Exceptions
- libtmux.exc
LibTmuxException
TmuxSessionExists
TmuxCommandNotFound
TmuxObjectDoesNotExist
VersionTooLow
BadSessionName
OptionError
UnknownOption
UnknownColorOption
InvalidOption
AmbiguousOption
WaitTimeout
VariableUnpackingError
PaneError
PaneNotFound
WindowError
MultipleActiveWindows
NoActiveWindow
NoWindowsExist
AdjustmentDirectionRequiresAdjustment
WindowAdjustmentDirectionRequiresAdjustment
PaneAdjustmentDirectionRequiresAdjustment
RequiresDigitOrPercentage