Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,15 @@ Bundles on tmux 3.4 and later require `UNTRIMMED` after `CAPTURE` and
primary screen. Generate the command and parse its stdout with the same
{class}`~libvt.contrib.tmux.capture.TmuxCaptureCommand`.

#### Route shared `tmux` command replies to their pane (#161)

{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.begin_attach`,
{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.resync`, and
{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.handle_event` can return a
reply marker and command batch on two lines. Send the complete string with
a final newline. On a shared control client, a command failure puts only
the requesting pane sync in `FAILED`.

## libvt 0.0.1a5 (2026-11-30)

`libvt` 0.0.1a5 adds rectangular grid blitting, display-column text writes, and
Expand Down
10 changes: 10 additions & 0 deletions MIGRATION
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ Callers that retain only raw `capture-pane -N -T` rows can pass them to
`trim_trailing=True`. Supply the matching `-N` rows as
`untrimmed_capture` to recover erased backgrounds.

### `TmuxPaneSync` control-client writes (#75)

Write the whole string from
{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.begin_attach`,
{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.resync`, or
{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.handle_event` with a final
newline. Keep the marker and command lines together when sharing stdin.
If your tests synthesize command replies, echo the marker before the batch
replies. A successful pause batch ends by printing the target's pane ID.

## libvt 0.0.1a2 (2026-11-28)

### Curated PEP 562 `libvt` root exports (#43)
Expand Down
9 changes: 9 additions & 0 deletions docs/topics/sync-and-asyncio.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,15 @@ written. Use an attached-client screen to assert the column following
such a tab. The capture lists `historical_tabstops` in
`completeness.unexposed_fields`.

Use one `TmuxPaneSync` per pane on a writable control client. Feed each
event to every sync. For every returned string, append a newline and write
the complete string to the client's stdin. The first line identifies the
owner of the replies to the second line. Keep the two lines together when
other tasks also write to the client. Catch
{exc}`~libvt.exc.ProtocolError` around each sync's
{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.handle_event` call so that the
other panes receive the same event.

## Concurrency and thread ownership

Every method call and attribute read on a {class}`~libvt.terminal.Terminal`
Expand Down
Loading
Loading