Skip to content

Fall back to global window options #321

@zandivx

Description

@zandivx

show-options -w can return empty for options that are not actually window-scoped, like pane-base-index. libtmux expects a value here and tmuxp compatibility breaks when the fallback is missing.
If a window-scope lookup is empty, fall back to the global option value instead.
This is needed for #318.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions