libtmux Reference MCP Search
On this page

session.NewWindowOptions

View as Markdown

Module
session
Package
libtmux
Source
crates/libtmux/src/session.rs
struct session.NewWindowOptions
structoverload [source]
structoverload [source]
struct session.NewWindowOptions

9 declared, 0 inherited

Members

  • command method Run a command instead of the default shell.
  • environment method Set an environment variable for the process the new window starts.
  • index method Place the window at a window index rather than the first free one.
  • new method Describe a window with the given name.
  • placement method Insert relative to the index rather than at it.
  • replace_existing method Replace whatever already occupies the target index.
  • select method Make the new window active in its session.
  • start_directory method Set the window's working directory.
  • unnamed method Describe a window with no name, letting tmux choose one.
Esc

Type to search.