Core Library0.xAPI reference

Choose documentation 1

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.

MoreLess about this notice

struct libtmux-fsharp

WindowSpec

Describes a window: its first pane, then each pane split off the one before.

Source and package
Qualified name
LibTmux.FSharp.WindowSpec
Namespace
LibTmux.FSharp
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Spec.fsi
type WindowSpecmodule WindowSpec

Description

Build one from WindowSpec.named or WindowSpec.empty with a copy-and-update expression.

Members8 members

  • Command property The command the first pane runs instead of the default shell.
  • Directory property The first pane's working directory.
  • empty constant A window tmux names after its command, running the default shell.
  • Environment property Variables added to the first pane's environment; a session's first window takes them from the session instead.
  • Name property The window's name; tmux names it after its command when None.
  • named function A named window running the default shell.
  • Splits property The panes split off in order, each beside the pane before it.
  • ToString method Names the window, without formatting through printf.
Esc
Search in

Type to search.

Reference previewOpen reference