Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

types.NewSessionOptions

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
types
Package
libtmux
Source
packages/libtmux/src/types.ts
interface types.NewSessionOptions
interface [source]
interface [source]
interface types.NewSessionOptions

What a new session starts as, and what it is grouped with.

A grouped session shares another's window list, so it creates no first window and the fields describing one are ignored — see groupWith .

8 declared, 0 inherited

Members

  • environment property Variables to set in the process this starts, tmux's -e.
  • groupWith property Share another session's windows, tmux's -t.
  • height property Rows for the session's first window.
  • name property The session's name, tmux's -s.
  • shellCommand property A command for tmux to run in place of the default shell.
  • startDirectory property
  • width property Columns for the session's first window. See height .
  • windowName property The first window's name. Same rules as name .
Esc

Type to search.