Skip to content

enter: false support #53

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 Feb 8, 2014 · 10 comments · Fixed by #747
Closed

enter: false support #53

tony opened this issue Feb 8, 2014 · 10 comments · Fixed by #747
Assignees

Comments

@tony
Copy link
Member

tony commented Feb 8, 2014

Blocked by #751

Just to leave the console text in the shell.

Such as creating a new pane, running commands in shell_command_before then leaving vim file.py in the cli window, but not actually sending the carriage return to start it.

Duplicate: #293 #735

@tony tony self-assigned this Feb 8, 2014
@stale stale bot added the stale label Nov 12, 2017
@stale stale bot closed this as completed Nov 19, 2017
@thiagowfx
Copy link

Hi, was this ever implemented? If yes, a pointer to the docs would be much appreciated. Thank you!

@thiagowfx
Copy link

Duplicate of #293

@tony tony added enhancement and removed stale labels Mar 12, 2022
@tony tony reopened this Mar 12, 2022
@tmux-python tmux-python deleted a comment from stale bot Mar 12, 2022
@tony tony changed the title Allow configs to send_keys without running command send_keys: false support Mar 12, 2022
@tony tony changed the title send_keys: false support enter: false support Mar 12, 2022
@tony tony mentioned this issue Mar 12, 2022
@tony tony closed this as completed in #747 Mar 12, 2022
tony added a commit that referenced this issue Mar 12, 2022
Documents and examples for #53 #293 #735
@tony
Copy link
Member Author

tony commented Mar 12, 2022

@thiagowfx

1.10.0b1 superseded by 1.10.0b3+

Live in 1.10.0b1 pypi branch

pip install --user --upgrade tmuxp==1.10.0b1

or pipx install [email protected] 'tmuxp==1.10.0b1' then [email protected] load <yaml file>

docs: skip command execution

session_name: Should not execute
windows:
- panes:
  - shell_command: echo "___$((1 + 3))___"
    enter: false

See v1.10.0b3: #53 (comment)

@tony
Copy link
Member Author

tony commented Mar 13, 2022

As of 1.10.0b2, it's broke.

It's per-pane, not per-command.

session_name: Should not execute
windows:
- panes:
  - shell_command: echo "___$((1 + 3))___"
    enter: false

This is equivalent to:

session_name: Should not execute
windows:
- panes:
  - shell_command:
    - echo "___$((1 + 3))___"
    enter: false

We don't per-command options yet, e.g. this syntax doesn't work:

session_name: Should not execute
windows:
- panes:
  - shell_command:
    - my first pane command
    - cmd: my second pane command
    - cmd: echo "___$((1 + 3))___"  # should not enter
      enter: false

See v1.10.0b3: #53 (comment)

@tony tony reopened this Mar 13, 2022
tony added a commit that referenced this issue Mar 13, 2022
tony added a commit that referenced this issue Mar 13, 2022
@tony
Copy link
Member Author

tony commented Mar 13, 2022

@thiagowfx

Live in 1.10.0b3 pypi branch

pip install --user --upgrade --pre tmuxp==1.10.0b3

or pipx install [email protected] 'tmuxp==1.10.0b3' then [email protected] load <yaml file>

docs: skip command execution

session_name: Should not execute
windows:
- panes:
  - shell_command:
    - echo "normal command" 
    - cmd: echo "___$((1 + 3))___"
      enter: false

@thiagowfx
Copy link

Thanks for your work, Tony. I’m excited to try this out.

@tony
Copy link
Member Author

tony commented Mar 17, 2022

Thanks for your work, Tony. I’m excited to try this out.

yes if you'd like to try the Prerelease (above) let me know how it works. It'd be nice to have a tester or two before this goes live

@tony
Copy link
Member Author

tony commented Mar 19, 2022

Added in v1.10

@tony tony closed this as completed Mar 19, 2022
@thiagowfx
Copy link

Did some quick testing today (v1.10) and it seems to work fine.

@tony
Copy link
Member Author

tony commented Mar 19, 2022

@thiagowfx Thank you!

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

Successfully merging a pull request may close this issue.

2 participants