# libtmux._internal.support.capabilities.CAPABILITIES

- **Module:** libtmux._internal.support.capabilities
- **Package:** libtmux
- **Language:** Python
- **Kind:** constant
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/_internal/support/capabilities.py#L101
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-_internal-support-capabilities-capabilities/

```py
libtmux._internal.support.capabilities.CAPABILITIES: tuple[Capability, ...] = (
    Capability(
        id="run-shell-start-directory",
        name="run-shell working directory",
        summary="Start a run-shell job in a chosen directory.",
        since="3.4",
        handling="fallback",
        apis=("libtmux.Server.run_shell",),
        commands=(Command("run-shell", ("-c",)),),
    ),
    Capability(
        id="run-shell-start-directory-format",
        name="run-shell working directory formats",
        summary="Expand a format in a run-shell job's working directory.",
        since="3.8",
        handling="refuse",
        apis=("libtmux.Server.run_shell",),
        commands=(Command("run-shell", ("-c",)),),
        error="libtmux.exc.LibTmuxException",
    ),
    Capability(
        id="run-shell-show-stderr",
        name="run-shell stderr",
        summary="Show a run-shell job's standard error as well as its output.",
        since="3.6",
        handling="fallback",
        apis=("libtmux.Server.run_shell",),
        commands=(Command("run-shell", ("-E",)),),
    ),
    Capability(
        id="run-shell-args",
        name="run-shell job arguments",
        summary="Pass extra arguments to a run-shell job.",
        since="3.7",
        handling="fallback",
        apis=("libtmux.Server.run_shell",),
        commands=(Command("run-shell"),),
    ),
    Capability(
        id="run-shell-output-in-copy-mode",
        name="run-shell output capture",
        summary="Return a foreground run-shell command's output to the caller.",
        since="3.5",
        handling="refuse",
        apis=("libtmux.Server.run_shell",),
        commands=(Command("run-shell"),),
        error="libtmux.exc.VersionTooLow",
    ),
    Capability(
        id="list-keys-format",
        name="Formatted key listing",
        summary="Format each key binding with a caller-supplied template.",
        since="3.7",
        handling="fallback",
        apis=("libtmux.Server.list_keys",),
        commands=(Command("list-keys", ("-F",)),),
    ),
    Capability(
        id="capture-trim-blank-cells",
        name="Trim blank capture cells",
        summary="Drop trailing positions that hold no character from a capture.",
        since="3.4",
        handling="fallback",
        apis=("libtmux.Pane.capture_pane",),
        commands=(Command("capture-pane", ("-T",)),),
    ),
    Capability(
        id="capture-mode-screen",
        name="Capture the mode screen",
        summary="Capture what a pane's active mode shows instead of the pane.",
        since="3.6",
        handling="fallback",
        apis=("libtmux.Pane.capture_pane",),
        commands=(Command("capture-pane", ("-M",)),),
    ),
    Capability(
        id="capture-line-flags",
        name="Capture line numbers, flags and hyperlinks",
        summary=(
            "Prefix captured lines with their number or metadata flags, "
            "or keep hyperlinks."
        ),
        since="3.7",
        handling="fallback",
        apis=("libtmux.Pane.capture_pane",),
        commands=(Command("capture-pane", ("-F", "-H", "-L")),),
    ),
    Capability(
        id="paste-buffer-no-vis",
        name="Paste raw bytes",
        summary="Paste a buffer without tmux rewriting its control characters.",
        since="3.7",
        handling="fallback",
        apis=("libtmux.Pane.paste_buffer",),
        commands=(Command("paste-buffer", ("-S",)),),
    ),
    Capability(
        id="floating-pane",
        name="Floating panes",
        summary="Create a floating pane with new-pane.",
        since="3.7",
        handling="refuse",
        apis=("libtmux.Pane.new_pane",),
        commands=(Command("new-pane"),),
        error="libtmux.exc.LibTmuxException",
    ),
)
```
