Repository navigation
v0.0.0-alpha.23
Pre-release
Pre-release
Unsafe optional tmux features are gated one at a time. Each is refused on the
tmux releases where it is unsafe, before anything is sent, and the minimum
stays 3.3a. Pane waits now find text that crosses a wrapped row, and end with
the output read so far when the tmux server stops.
Added
capabilities.jsonat the repository root lists the optional tmux features
and release defects the library gates, with the release each starts at or
covers, for the documentation's capabilities page. It is written from the
registry the feature guard reads, and a unit test fails when the two differ.
(#84)ExampleAttribute.RequiresTmuxandrequiresTmuxin the API example
manifest name the first tmux an example runs on. (#84)
Fixed
Pane.BreakAsyncreads the new window from the pane when tmux prints no
identifier for a window's only pane. (#84)Pane.WaitForTextAsyncand the MCPwait_for_textnow find text that
crosses a wrapped row, below tmux 3.7 and from it, spaces a wrapped row
held included. A wrapped line is one line; a real line break still ends one.
A line may start with any number of spaces, a full pane width included, or
hold rows of only spaces, and the lines after it still match. If the two
captures of a read disagree about a line, only that line is matched row by
row. (#84)- A pane wait now ends as
PaneWaitOutcome.PaneExited, orPaneDiedin MCP,
with the output read so far when the tmux server stops during it, as it does
when the pane dies. It used to raise a transport error with no output. A
live pane whose control stream is lost still raisesTmuxTransportException.
(#84) IControlModeSession.SendAsyncnow refuses the commands that the one-shot
methods refuse, by throwingTmuxVersionTooLowException. An unnamedbreak-panesent through a session held on
exactly tmux 3.7 ended the server. (#84)- A command word is now read the way tmux reads it, by alias, name or unique
prefix, and a;list one command at a time, soru,brand a command
after a;can no longer slip past the checks below. An alias wins over a
prefix that other commands share, sosetandshowread asset-option
andshow-options. (#84)
Changed
- An operation that is unsafe on one supported tmux is refused on that
tmux, and the minimum stays 3.3a. Each is refused before anything is sent,
withTmuxVersionTooLowExceptionandDispatchset toNotDispatched.
See the matrix. (#84)Server.EnterControlModeAsync, and with itServerMirror, needs tmux 3.7,
because a control client can crash an older server while it attaches. Pane
waits poll below it, with no opt-in.- Deleting or renaming a buffer by name,
Pane.RunAsyncand the MCP
paste_textneed 3.4, and a foregroundrun-shellthat names no pane
needs 3.5, typed or raw. - Raw commands and batches are refused on the release that mishandles them:
an unnamedbreak-paneand a name with:or.on exactly 3.7,
split-window -pon 3.4, an uncheckedselect-layoutbelow 3.4, and
refresh-client -lbelow 3.6a, where 3.3a ends the server at once with a
client attached, and 3.4 through 3.6 end it when the client leaves before
its terminal answers. The typed
Server.RefreshClientAsyncsends the flag only from 3.7, so it is safe. - The checks read the command they are given, not a tmux command nested in
if-shell,run-shell -C, a brace block, a hook or a binding. Do not
nest a command that is refused.