NewWindowOptions
Where a new window lands, and what runs in it.
Source and package
- Qualified name
-
NewWindow Options - Module
- types
- Package
- libtmux
- Source
- packages/libtmux/src/types.ts
-
Description#
tmux moves existing windows up to make room when a direction is given, so an index a caller is holding can change.
Members6#
- direction: Window
Direction property Place the window before or after the session's current window. - environment: Readonly<Record<string, string>> property Variables to set in the process this starts, tmux's
-e. - index: number property Create at this exact index, including below the session's
base-index. - name: string property The window's name.
- shellCommand: string property A command for tmux to run in place of the default shell.
- startDirectory: string property