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.

struct libtmux-rs latest

NewWindow

Create a window in a session.

Source and package
Qualified name
libtmux::plan::ops::windows::NewWindow
Module
plan.ops.windows
Package
libtmux
Source
crates/libtmux/src/plan/ops/windows.rs
struct plan.ops.windows.NewWindow

Members7#

  • command method Run this instead of a shell in the window's pane.
  • environment method Set a variable in the window's environment before it starts.
  • focus method Leave the new window, and so its pane, active.
  • index method Place the window at this index rather than the next free one.
  • name method Name the window.
  • new method Create a detached window in this session.
  • start_directory method Start the window's pane in this directory.
Esc

Type to search.

Reference previewOpen reference