Skip to content

tries to focus 0th window while having base-index 1 #13

@ShinyZero0

Description

@ShinyZero0

I have set -g base-index 1 in my tmux.conf, which makes window numeration start from 1. However, tmex still thinks it starts at zero, thus trying to do something with the 0th window in multi-window setup, producing a status bar error "can't find window: 0". I thought it was trying to focus it and tried -W 1 but it didn't change anything.
examples:

tmex ugh -w- "" -w- ""
tmex ugh -W 1 "" -w 2 ""

edit: well it's quite obvious why doesn't -W 1 fix that. 1 here is a window name, not a window number

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