ConstOptionaloptions: Optional Readonlyafter?: booleanLink to the index after targetWindow, moving later windows up (-a).
Optional Readonlybefore?: falseOptional ReadonlydestroyExisting?: booleanDestroy an existing window at the target index instead of failing (-k).
Optional Readonlydetached?: booleanDo not make the linked window the current window (-d).
Optional ReadonlysourceWindow?: stringSource window to link from (-s).
Optional ReadonlytargetWindow?: stringDestination window/index to link into (-t).
Optional Readonlyafter?: falseOptional Readonlybefore?: booleanLink to the index before targetWindow, moving later windows up (-b).
Optional ReadonlydestroyExisting?: booleanDestroy an existing window at the target index instead of failing (-k).
Optional Readonlydetached?: booleanDo not make the linked window the current window (-d).
Optional ReadonlysourceWindow?: stringSource window to link from (-s).
Optional ReadonlytargetWindow?: stringDestination window/index to link into (-t).
An empty string on success.
Link a window into another session (
tmux link-window).