PaneRef
Identify one physical pane on the daemon generation it was captured from. split_window returns one, and a PaneSnapshot carries its own as .ref. Operations check a reference against the running daemon before acting and raise StaleReference or CrossServerReference when it no longer matches.
Source and package
- Qualified name
-
LibTmux. Pane Ref - Module
- LibTmux
- Package
- LibTmux
- Source
- src/model.jl
-
Description
PaneRefWhat is on here
In Julia the functions that act on a pane sit beside the type rather than on it: each takes a
Serverfirst, and most also have a method for aControlConnection. They fall into a few groups:- Finding the pane
- Splitting returns the new pane's reference, and a captured
PaneSnapshotcarries its own as.ref. To pick one from a snapshot, give the matching function a criterion; it raisesNoMatchErrororMultipleMatchesErrorinstead of choosing for you. - Return a referenceCaptureCriterionMatch exactly oneWindow of a pane, up
- Splitting and arranging
- A split goes
:belowby default, or:right,:leftor:above, and takes a positive cell count assize. Moving a pane keeps its ID, and the old window can disappear when its final pane moves. Swapping keeps IDs and running processes. Resizing takes absolute cell dimensions, at least one, and tmux may constrain them to fit adjacent panes. - SplitMove beside another paneMove into a new windowSwapResize or zoomFocus
- Sending input
- Named tokens such as
EnterandC-cuse tmux's key lookup, other tokens are text, andliteral=trueturns the lookup off. No Enter is added. Large text and binary data belong in a paste, which also adds no Enter. - Send keysPaste
- Reading output
- A capture is tmux's screen representation, not the program's original byte stream. Text decodes as strict UTF-8 and raises
CaptureDecodeErroron malformed bytes. Waiting for text polls the visible screen and opens no control client. Observing raw output needs a control connection and reports only future bytes. - Screen as textScreen as bytesWait for textRaw future output
- Changing things
- Clearing history keeps the visible screen and the process. Respawning restarts the original command, or an explicit one, and protects running processes unless
kill_running=true. A pipe runs a shell command on the tmux host, and an existing pipe is protected unlessreplace=true. Removing returns theCommandResult. - Clear scrollbackSet the titlePipe outputRespawnRemove
- Options, hooks and formats
- A
PaneRefis a scope for options and hooks, and a format target. - Read typed fieldsExpand a raw expressionSubscribe
Methods
[source]
- Type parameters
-
-
Bound Lib
Tmux .Entity ID
-
- Parameters
In other ports
task equivalence 22 other ports mappedSource-verified mappings for A tmux pane. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from Julia |
|---|---|---|
| Julia | Lib Identify one physical pane on the daemon generation it was captured from. split_window returns one, and a PaneSnapshot carries its own as .ref. Operations check a reference against the running daemon before acting and raise StaleReference or CrossServerReference when it no longer matches. | This page |
| Python | libtmux tmux(1) Pane [pane_manual]. | None recorded in the model |
| Ruby | Lib | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| PowerShell | Lib Read panes from a server, session or window. | 3 overloads This cmdlet reads shared .NET LibTmux.Pane objects. Its -Server, -Session, and -Window parameter sets select the scope. |
| Erlang | #tmux | None recorded in the model |
| Elixir | Lib An immutable physical pane. It belongs to a window; text may be empty. | Pane is an immutable physical pane observation. It does not send keys or capture text. |
| Haskell | Lib Detached physical pane. Its window can appear in several session contexts;
PaneOccurrence preserves an appearance without duplicating physical identity. | Pane is a detached physical pane. PaneOccurrence keeps the window placement it was seen in, and operations take a generation-bound PaneRef. |
| Common Lisp | libtmux: A physical pane belonging to one captured window. | pane is an immutable captured physical pane. |
| TypeScript | pane One pane on one tmux server, as a handle rather than a copy of it. | None recorded in the model |
| Rust | pane One tmux pane, as reached through one window link. | None recorded in the model |
| Go | tmux Pane is one materialized pane record within a specific winlink. It is normally returned by Server.Snapshot, Server.Pane, or Pane.Refresh. A zero Pane is not a usable tmux target. | None recorded in the model |
| Java | io One tmux pane, as one capture saw it. | readonly |
| Clojure | libtmux Returns captured pane occurrences in a snapshot, session, or window. | Traverses captured pane maps without I/O. Use keyword lookup for scalar observations and the preserved :tmux/ref for effects. |
| Kotlin | io A tmux pane, with operations for input, output, and layout. | None recorded in the model |
| Scala | io A captured pane occurrence, opaque over the Java handle. Java equality identifies the physical pane; every operation beyond that is an extension, generated from the operation catalog or handwritten where the catalog marks it WAIT, STREAM or LIFECYCLE. | 2 overloads |
| C# | Lib Represents an immutable pane handle and snapshot. | None recorded in the model |
| F# | Lib Reads captured pane fields and starts explicit pane operations. | This F# module reads captured fields and starts explicit operations on the shared .NET LibTmux.Pane type. |
| C++ | libtmux:: One pane, as one listing saw it. | None recorded in the model |
| Swift | Pane A tmux pane, as it was when the listing was read. | None recorded in the model |
| OCaml | Libtmux | None recorded in the model |
| Perl | Lib Captured pane entity | A physical pane retains its captured graph, without retaining transport. |
| Raku | Lib Captured pane fields and its local physical-window relationship. | None recorded in the model |