TmuxShellCommand
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- 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.
Members
- init(unicodeScalarLiteral:) ( unicodeScalarLiteral : Self.ExtendedGraphemeClusterLiteralType )method ¶method ¶init(unicodeScalarLiteral:)
-
Inherited from
ExpressibleByExtendedGraphemeClusterLiteral.init(unicodeScalarLiteral:)
init(extendedGraphemeClusterLiteral:)
- init(extendedGraphemeClusterLiteral:) ( extendedGraphemeClusterLiteral : Self.StringLiteralType )method ¶method ¶init(extendedGraphemeClusterLiteral:)
-
Inherited from
ExpressibleByStringLiteral.init(extendedGraphemeClusterLiteral:)
- functionstatic ¶!=(_:_:)
-
Inherited from
Equatable.!=(_:_:)Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values
aandb,a != bimplies thata == bisfalse.This is the default implementation of the not-equal-to operator (
!=) for any type that conforms toEquatable.- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.
- Parameters:
-
The line to type into the pane.
-
Whether to press enter after typing it. False leaves the line sitting at the prompt, ready but not run.
-
Creates an instance initialized to the given string value.
- Parameter value: The value of the new instance.
-
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.
-
Written back the way it was most likely written: a bare string unless
entercarries information a string cannot.