API Reference¶
See also
See libtmux’s API and Quickstart to see how you can control tmux via python API calls.
- Internals
- Colors -
tmuxp._internal.colorsColorModeColorsSUCCESSWARNINGERRORINFOHEADINGHIGHLIGHTMUTEDSUCCESSWARNINGERRORINFOHEADINGHIGHLIGHTMUTED_should_enable()_colorize()success()warning()error()info()highlight()muted()heading()format_label()format_path()format_version()format_separator()format_rule()format_kv()format_tmux_option()
get_color_mode()strip_ansi()_interpret_color()UnknownStyleColorstyle()unstyle()build_description()
- Config reader -
tmuxp._internal.config_reader - Private path -
tmuxp._internal.private_path - Typings -
tmuxp._internal.types
- Colors -
- CLI
- tmuxp convert -
tmuxp.cli.convert - tmuxp debug-info -
tmuxp.cli.debug_info - tmuxp edit -
tmuxp.cli.edit - tmuxp freeze -
tmuxp.cli.freeze - tmuxp import -
tmuxp.cli.import_config - tmuxp load -
tmuxp.cli.load - tmuxp ls -
tmuxp.cli.ls - tmuxp progress -
tmuxp.cli._progress - tmuxp search -
tmuxp.cli.searchFIELD_ALIASESVALID_FIELDSDEFAULT_FIELDSSearchTokenSearchPatternInvalidFieldErrornormalize_fields()_parse_field_prefix()parse_query_terms()_has_uppercase()compile_search_patterns()WorkspaceFieldsWorkspaceSearchResultextract_workspace_fields()_get_field_values()evaluate_match()find_search_matches()highlight_matches()_output_search_results()CLISearchNamespacecreate_search_subparser()command_search()
- tmuxp shell -
tmuxp.cli.shell - CLI utilities -
tmuxp.cli.utilsColorModeColorsSUCCESSWARNINGERRORINFOHEADINGHIGHLIGHTMUTEDERRORHEADINGHIGHLIGHTINFOMUTEDSUCCESSWARNING_colorize()_should_enable()error()format_kv()format_label()format_path()format_rule()format_separator()format_tmux_option()format_version()heading()highlight()info()muted()success()warning()
UnknownStyleColorprompt()prompt_bool()prompt_choices()prompt_yes_no()strip_ansi()style()tmuxp_echo()unstyle()
tmuxp.cli
- tmuxp convert -
- Workspace
- Builder -
tmuxp.workspace.builder - Constants -
tmuxp.workspace.constants - Finders -
tmuxp.workspace.finders - Freezer -
tmuxp.workspace.freezer - Importers -
tmuxp.workspace.importers - Loader -
tmuxp.workspace.loader - Validation -
tmuxp.workspace.validation
- Builder -
- Exceptions -
tmuxp.exc - Logging -
tmuxp.log - Plugin -
tmuxp.plugin - Shell -
tmuxp.shell - Utilities -
tmuxp.util - Typings -
tmuxp.types