Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot focus pane if window name contains spaces #114

Open
garrettr opened this issue Oct 14, 2016 · 0 comments · May be fixed by #115
Open

Cannot focus pane if window name contains spaces #114

garrettr opened this issue Oct 14, 2016 · 0 comments · May be fixed by #115

Comments

@garrettr
Copy link

Steps to reproduce

In ~/.teamocil/str.yml:

windows:
  - name: window name with spaces
    layout: tiled
    panes:
      - commands:
          - echo "1"
        focus: true
      - commands:
          - echo "2"

Run tmux, then teamocil str.

Expected behavior

Teamocil should switch to the first pane, which has focus: true set.

Observed behavior

Teamocil keeps the second pane focused, seemingly ignoring focus: true on the first pane.

Output of teamocil --debug

$ teamocil str --debug

tmux rename-session 'teamocil-session-587887'
tmux new-window -n 'window name with spaces'
tmux send-keys -t 'window name with spaces.0' 'echo "1"'
tmux send-keys -t 'window name with spaces.0' 'Enter'
tmux select-layout -t 'window name with spaces' 'tiled'
tmux split-window -t 'window name with spaces'
tmux send-keys -t 'window name with spaces.1' 'echo "2"'
tmux send-keys -t 'window name with spaces.1' 'Enter'
tmux select-layout -t 'window name with spaces' 'tiled'
tmux select-pane -t window name with spaces.0
@garrettr garrettr linked a pull request Oct 14, 2016 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant