Skip to content

Per-command options #751

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

Closed
tony opened this issue Mar 13, 2022 · 1 comment
Closed

Per-command options #751

tony opened this issue Mar 13, 2022 · 1 comment

Comments

@tony
Copy link
Member

tony commented Mar 13, 2022

Fixes #53 #750

Options like sleep: 3 and enter: false should be allowed to be passed at the per-command level.

Internally, individual tmuxp commands are only strings.

Now:

windows:
  panes:
  - shell_command:
    - echo "hello"

What the syntax needs:

windows:
  panes:
  - shell_command:
    - cmd: echo "hello"
      enter: false
      sleep: 2

Earlier conversations: https://github.com/tmux-python/tmuxp/issues/53#issuecomment-1066092004
@tony
Copy link
Member Author

tony commented Mar 19, 2022

Added in 1.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant