On this page
TmuxShellCommand
- Package
- libtmux-swift
- Source
- Sources/TmuxWorkspace/Workspace.swift
- struct TmuxShellCommand : struct TmuxShellCommand
- Bases:
A command to put in a pane, and whether to run it.
tmuxp writes most commands as a bare string, and that is what a string literal here means — type it and press enter. The long form,
{cmd:, enter:}, exists to leave a command sitting in the pane unrun, which is whyenteris modelled rather than dropped.
9 declared, 0 inherited
Members
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- encode(to:) method Written back the way it was most likely written: a bare string unless
entercarries information a string cannot. - init(_:enter:) method
- init(extendedGraphemeClusterLiteral:) method
- init(from:) method Creates a new instance by decoding from the given decoder.
- init(stringLiteral:) method Creates an instance initialized to the given string value.
- init(unicodeScalarLiteral:) method
- command property The line to type into the pane.
- enter property Whether to press enter after typing it. False leaves the line sitting at the prompt, ready but not run.