mirror of
https://github.com/tmux/tmux.git
synced 2026-10-11 21:14:21 +00:00
Zoomed panes are now like full screen floating panes.
This commit is contained in:
@@ -355,6 +355,24 @@ check_ok resize-pane -Z -t "$p1"
|
||||
check_ok rotate-window -D -t R:0
|
||||
check_fmt 'R:0' '#{window_layout}' "$layout"
|
||||
|
||||
# Floating panes are not rotated: they keep their geometry and stay floating
|
||||
# while the tiled panes rotate around them.
|
||||
fp=$($TMUX new-pane -dPF '#{pane_id}' -t R:0 -x 20 -y 8 -X 8 -Y 3 '')
|
||||
fgeom=$($TMUX display-message -p -t "$fp" \
|
||||
'#{pane_floating_flag}:#{pane_left}:#{pane_top}:#{pane_width}:#{pane_height}')
|
||||
check_ok select-pane -t "$p0"
|
||||
check_ok rotate-window -U -t R:0
|
||||
check_fmt "$fp" \
|
||||
'#{pane_floating_flag}:#{pane_left}:#{pane_top}:#{pane_width}:#{pane_height}' \
|
||||
"$fgeom"
|
||||
check_fmt "$p1" '#{pane_floating_flag}:#{pane_top}:#{pane_active}' '0:0:1'
|
||||
check_ok rotate-window -D -t R:0
|
||||
check_fmt "$fp" \
|
||||
'#{pane_floating_flag}:#{pane_left}:#{pane_top}:#{pane_width}:#{pane_height}' \
|
||||
"$fgeom"
|
||||
check_fmt "$p0" '#{pane_floating_flag}:#{pane_top}:#{pane_active}' '0:0:1'
|
||||
check_ok kill-pane -t "$fp"
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# kill-window.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user