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

PanePlan

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

API reference · Markdown

struct PanePlan : struct PanePlan
struct [source]
struct [source]
struct PanePlan

One pane, and what to run in it.

tmuxp lets a pane be written as a bare string, which means "run this", so that spelling decodes too.

Discussed in Swift workspace builder behavior , Swift workspace builder API

Members

!=(_:_:)

!=(_:_:) ( lhs : Self , rhs : Self ) → Bool
functionstatic
functionstatic
!=(_:_:)

Inherited from Equatable.!=(_:_:)

Returns a Boolean value indicating whether two values are not equal.

Inequality is the inverse of equality. For any values a and b, a != b implies that a == b is false.

This is the default implementation of the not-equal-to operator (!=) for any type that conforms to Equatable.

  • Parameters:
    • lhs: A value to compare.
    • rhs: Another value to compare.

shellCommands

shellCommands : let shellCommands: [TmuxShellCommand]
property [source]
property [source]
shellCommands

What to run in the pane, in order, once it exists.

startDirectory

startDirectory : let startDirectory: String?
property [source]
property [source]
startDirectory

Where this pane starts, overriding the window's and the workspace's.

init(shellCommands:startDirectory:)

init(shellCommands:startDirectory:) ( shellCommands : [TmuxShellCommand] , startDirectory : String? )
method [source]
method [source]
init(shellCommands:startDirectory:)

init(from:)

init(from:) ( from : any Decoder )
method [source]
method [source]
init(from:)

Creates a new instance by decoding from the given decoder.

This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

  • Parameter decoder: The decoder to read data from.

encode(to:)

encode(to:) ( to : any Encoder ) → ()
method [source]
method [source]
encode(to:)

Encodes this value into the given encoder.

If the value fails to encode anything, encoder will encode an empty keyed container in its place.

This function throws an error if any values are invalid for the given encoder's format.

  • Parameter encoder: The encoder to write data to.
Esc

Type to search.