swap_window
Source and package
- Module
- LibTmux
- Package
- LibTmux
- Source
- src/topology.jl
- swap_window( connection::Lib
Tmux , first::Lib.Control Connection Tmux , second::Lib.Window Link Ref Tmux ; select, kwargs... ) swap_window( server::Lib.Window Link Ref Tmux , first::Lib.Server Tmux , second::Lib.Window Link Ref Tmux ; select, kwargs... ).Window Link Ref -
Methods#
swap_window( connection::Lib
Tmux , first::Lib.Control Connection Tmux , second::Lib.Window Link Ref Tmux ; select, kwargs... )[source]#.Window Link Ref Swap two checked session/index links on the pinned daemon. Other links remain. Membership checks may race concurrent changes; they do not reserve either slot.
select=falsepreserves selection where tmux permits. ReturnControlResult.swap_window(connection::ControlConnection, first::WindowLinkRef, second::WindowLinkRef; kwargs...)swap_window( server::Lib
Tmux , first::Lib.Server Tmux , second::Lib.Window Link Ref Tmux ; select, kwargs... )[source]#.Window Link Ref Swap the windows at two explicit links; other links retain their windows.
- Parameters