Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

struct libtmux-fsharp latest

WindowSpec

Namespace LibTmux.FSharp.WindowSpec LibTmux.FSharp

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

View as Markdown

Source and package
Module
LibTmux.FSharp
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Spec.fsi
type WindowSpecmodule WindowSpec
struct [source]

Description#

Build one from <c>WindowSpec.named</c> or <c>WindowSpec.empty</c> with a copy-and-update expression.

Members8 members#

Other 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

Type to search.