Commit ace77b9
committed
Window(fix[rotate]): don't always inject -D, respect tmux default
why: rotate-window with no flags defaults to upward rotation in tmux
(cmd-rotate-window.c:82). The code always injected -D in the else
branch, making rotate() behave as downward instead of tmux's default.
what:
- Replace direction_up with separate upward/downward params
- Only send -U/-D when explicitly requested
- No flags sent by default (tmux default = upward)1 parent 4594d56 commit ace77b9
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
| 696 | + | |
| 697 | + | |
697 | 698 | | |
698 | 699 | | |
699 | 700 | | |
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
703 | | - | |
704 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
705 | 708 | | |
706 | 709 | | |
707 | 710 | | |
| |||
719 | 722 | | |
720 | 723 | | |
721 | 724 | | |
722 | | - | |
| 725 | + | |
723 | 726 | | |
724 | | - | |
| 727 | + | |
| 728 | + | |
725 | 729 | | |
726 | 730 | | |
727 | 731 | | |
| |||
0 commit comments