Take tmux pane-base-index and base-index options into account