microsoft/Terminal

Add support for rotating panes around in the window, without changing the layout

Open

#10,757 opened on Jul 22, 2021

View on GitHub
 (1 comment) (1 reaction) (0 assignees)C++ (3,212 forks)batch import
Area-UserInterfaceHelp WantedIssue-TaskProduct-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

Description

In tmux it's possible to move/swap opened panes in different ways.

Moving panes around in tmux:

C-a C-o        rotate window ‘up’ (i.e. move all panes)
C-a M-o        rotate window ‘down’

https://man7.org/linux/man-pages/man1/tmux.1.html:

     rotate-window [-DUZ] [-t target-window]
                   (alias: rotatew)
             Rotate the positions of the panes within a window, either
             upward (numerically lower) with -U or downward (numerically
             higher).  -Z keeps the window zoomed if it was zoomed.

From @kostrse in #4922

Contributor guide