Const
Move a window to its previous layout (tmux previous-layout).
tmux previous-layout
Optional
Readonly
Target window to move to its previous layout (-t).
-t
An empty string on success.
await tmux.previousLayout({ targetWindow: "work:1" }); Copy
await tmux.previousLayout({ targetWindow: "work:1" });
Move a window to its previous layout (
tmux previous-layout).