Merge lp://staging/~chrisccoulson/byobu/fix-tmux-swap-window-usage into lp://staging/byobu
Status: | Merged |
---|---|
Merged at revision: | 2633 |
Proposed branch: | lp://staging/~chrisccoulson/byobu/fix-tmux-swap-window-usage |
Merge into: | lp://staging/byobu |
Diff against target: |
14 lines (+2/-2) 1 file modified
usr/share/byobu/keybindings/f-keys.tmux (+2/-2) |
To merge this branch: | bzr merge lp://staging/~chrisccoulson/byobu/fix-tmux-swap-window-usage |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dustin Kirkland | Pending | ||
Review via email:
|
Commit message
Update usage of tmux swap-window so that focus stays with the original window.
See https:/
Description of the change
Since upgrading from tmux 2.9a (in eoan) to tmux 3.0a (in focal), the CTRL+SHIFT+F3/F4 shortcuts no longer behave as they did previously - the windows are swapped, but focus doesn't move to the originally focused window. Eg, if I have 2 windows (A and B) with A being the currently focused window, and then I use CTRL+SHIFT+F4 to swap them, I end up with windows B and A (as expected), but window B is focused when I expected the focus to follow window A (as it did with tmux 2.9a).
This appears to be a breaking change in tmux - https:/