read_formats
Source and package
- Module
- LibTmux
- Package
- LibTmux
- Source
- src/formats.jl
- read_formats( connection::Lib
Tmux , target, fields::Abstract.Control Connection Vector {<:LibTmux }; kwargs... ) read_formats( connection::Lib.Format Field Tmux , target, fields::Lib.Control Connection Tmux ...; kwargs... ) read_formats( server::Lib.Format Field Tmux , target, fields::Abstract.Server Vector {<:LibTmux }; kwargs... ) read_formats(server::Lib.Format Field Tmux , target, fields::Lib.Server Tmux ...; kwargs...).Format Field -
Methods#
read_formats( connection::Lib
Tmux , target, fields::Abstract.Control Connection Vector {<:LibTmux }; kwargs... )[source]#.Format Field read_formats( connection::Lib
Tmux , target, fields::Lib.Control Connection Tmux ...; kwargs... )[source]#.Format Field Read typed fields over a pinned control connection, with the target contexts and empty-value semantics of the subprocess method. Names outside the snapshot catalog remain valid. The escaped row grammar preserves tabs, newlines and guard-looking text without admitting arbitrary command output.
read_formats(connection::ControlConnection, target, fields::FormatField...; kwargs...)read_formats(connection::ControlConnection, target, fields::AbstractVector{<:FormatField}; kwargs...)The connection enforces its generation and never falls back to a subprocess.
strict=falsedoes not weaken this identity contract.FormatValueError.resultretains the actualControlResult.max_output_bytesbounds the encoded reply, including row prefix and escapes; the connection's frame limit also applies.read_formats( server::Lib
Tmux , target, fields::Abstract.Server Vector {<:LibTmux }; kwargs... )[source]#.Format Field read_formats(server::Lib
Tmux , target, fields::Lib.Server Tmux ...; kwargs...)[source]#.Format Field Read 1–256 fields with the lossless row codec, preserving field order and duplicates. Tabs, newlines, backslashes and Unicode remain literal values. Return
FormatObservationvalues; empty expansions remain unverified. Nonempty invalid numeric or Boolean values raiseFormatValueError.read_formats(server, target, fields::FormatField...; kwargs...)read_formats(server, target, fields::AbstractVector{<:FormatField}; kwargs...)The target is mandatory.
PaneRefselects the physical pane.SessionRefselects its active window and pane;WindowRefselects its active pane and tmux chooses a linked-session context. Use a session target for contextual session fields; a physical window has no unique session. Client references are not supported by this API. Identity checks are best effort;strict=truerefuses execution. Deadline and cancellation options follownew_session.These descriptors use names from the snapshot catalog without limiting callers to that catalog:
read_formats(server, pane_ref,FormatField("pane_width", Int), FormatField("pane_active", Bool),FormatField("version"))- Parameters
-
-
connection( LibTmux ) (for.Control Connection read_formats(connection, target, fields, kwargs) [overload 1];read_formats(connection, target, fields, kwargs) [overload 2]) # -
fields( Base.Abstract {<:LibVector Tmux } ) (for.Format Field read_formats(connection, target, fields, kwargs) [overload 1];read_formats(server, target, fields, kwargs) [overload 3]) # -
fields( Vararg{LibTmux } ) (for.Format Field read_formats(connection, target, fields, kwargs) [overload 2];read_formats(server, target, fields, kwargs) [overload 4]) # -
server( LibTmux ) (for.Server read_formats(server, target, fields, kwargs) [overload 3];read_formats(server, target, fields, kwargs) [overload 4]) #
-