Skip to content

Second window comes into focus first #326

Closed
@animeshkrishnabulusu

Description

@animeshkrishnabulusu

I have a simple config with three windows. I have set focus: true for the first window to show upon loading a new session. Instead of the first, second window opens up.

session.yaml

session_name: daily
windows:
  - window_name: default
    focus: true
    layout: main-horizontal
    options:
      main-pane-height: 4
    panes:
    - shell_command:
      - watch acpi --thermal
    - shell_command:
      - task
  - window_name: projects
    start_directory: ~/projects
    panes:
    - shell_command:
      - ls
  - window_name: prog
    layout: main-horizontal
    panes:
    - shell_command:
      - py3
    - shell_command:
      - node

What is wrong with my configuration?

Version information:

tmuxp 1.3.5
tmux 2.6
Debian Testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions