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.
show-options -wcan return empty for options that are not actually window-scoped, likepane-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.