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
Implement options_after
window option
#235
Conversation
Created new method config_after_window() that applies relevant configurations after windows and panes have been created. Currently, it only knows the `options_after` option. This is useful for setting `synchronize-panes: on` *after* pane creation and shell command execution.
This solves issue #234 |
Codecov Report
@@ Coverage Diff @@
## master #235 +/- ##
=========================================
+ Coverage 83.57% 83.68% +0.1%
=========================================
Files 5 5
Lines 749 754 +5
=========================================
+ Hits 626 631 +5
Misses 123 123
Continue to review full report at Codecov.
|
|
It was quite some effort to get the tests working on Travis. Because of slow execution of the |
@sebastianst Looks good. Can you add an example to the documentation? |
Sure, will do next week! |
Example shows how to ssh into two different servers with synchronized panes.
Done. The example shows how to ssh into two different servers with synchronized |
Nice job @sebastianst! |
This is now live in 1.3.0 |
Great, thank you! |
One question on the release though: The github latest release is still set to |
You can see the release notes at https://tmuxp.git-pull.com/en/latest/history.html |
Also, in c7b2cc7, I had to fix the link to this issue in CHANGES. That should be live on the docs in a few minutes. You may have to hard refresh. |
Created new method
config_after_window()
that applies relevant configurations after windows and panes have been created.Currently, it only knows the
options_after
option. This is useful for settingsynchronize-panes: on
after pane creation and shell command execution.The same could be done for panes, but I don't know of an application for that at the moment.