Fix select_window() by providing the session ID as argument to -t#271
Fix select_window() by providing the session ID as argument to -t#271tony merged 1 commit intotmux-python:masterfrom
Conversation
|
@Flowdalic Hi there, thank you very much and sorry for the delay! Is it possible you can rebase? Is it possible for you to create a test as well? |
|
@Flowdalic Hi there, can you please rebase this PR? (I want to be sure CI gets it!) |
25cca1c to
926f291
Compare
|
@tony rebased |
|
@Flowdalic Thank you for the fast follow up! Would you like to check out the flake8 for this? (I'm not sure if a variable was lost in rebase or not) |
926f291 to
f9794b3
Compare
Codecov Report
@@ Coverage Diff @@
## master #271 +/- ##
=======================================
Coverage 87.00% 87.00%
=======================================
Files 16 16
Lines 1516 1516
=======================================
Hits 1319 1319
Misses 197 197
Continue to review full report at Codecov.
|
|
Checked and fixed. |
|
@Flowdalic Can you rebase, and update the changelog? If possible could you provide a test for #161 and this new change? |
f9794b3 to
a0a77d2
Compare
|
Rebased and updated the changelog |
|
@Flowdalic This one had test issues, if you rebase do they still happen? |
|
Sorry for the delay - we really need maintainers. I have a lot on my plate. |
a0a77d2 to
8f5df99
Compare
Previosly select_window() would not work in nested tmux scenarios, as there was no tmux session ID in the final tmux command. This is because select_window() already adds the '-t' argument, hence the check in cmd() does not add the session ID. Thanks to Fabian Lesniak and Andreas Fried for pointing this out. Fixes tmux-python#161
8f5df99 to
af94b48
Compare
Rebased, you need to approve the workflow run. |
That's something new. Interesting. |
|
Eek, this (af94b48) is raising an issue with tmuxp: https://github.com/tmux-python/tmuxp/runs/2842564761 |
Hotfix for #271 extended to support Window.select_window()
|
@Flowdalic I pushed a fix that should get If you'd like to check it out you can Now we have a super accurate, session-aware, target passed there as well. (it's a passthrough to the one you updated anyway) :) |
Previosly select_window() would not work in nested tmux scenarios, as
there was no tmux session ID in the final tmux command. This is because
select_window() already adds the '-t' argument, hence the check in
cmd() does not add the session ID.
Thanks to Fabian Lesniak and Andreas Fried for pointing this out.
Fixes #161