Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

property libtmux-ts latest

MoveWindowOptions.session

Destination session; the window stays in its own session when omitted.

Source and package
Qualified name
MoveWindowOptions.session
Module
types
Declared in
MoveWindowOptions
Package
libtmux
Source
packages/libtmux/src/types.ts

Description#

Omitted means this window's session, not tmux's current one — tmux reads a destination of :3 as index 3 of whichever session it happens to consider current, which is rarely the one a caller holding this window means.

A Session handle is checked against this window's server before the command runs. A string is not: a tmux id means something else on every other daemon, and only a handle carries which one it came from.

Esc

Type to search.

Reference previewOpen reference