Skip to content
Open
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
17 changes: 17 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@ retained primary scrollback by `offset` rows without mutating live terminal
state or blending primary history into alternate-screen snapshots. See
{ref}`topics-migrating-from-pyte` for details.

#### Extended `tmux` pane metadata, layout resize, and in-place resync (#60)

{data}`~libvt.contrib.tmux.capture.TMUX_METADATA_FORMAT` and
{class}`~libvt.contrib.tmux.capture.TmuxPaneMetadata` capture `cursor_shape`,
`cursor_blinking`, `keypad_flag`, and `modify_other_keys` (`pane_key_mode`);
{class}`~libvt.contrib.tmux.capture.TmuxCaptureResult` exposes `metadata` and
`post_metadata`; {func}`~libvt.contrib.tmux.capture.build_tmux_capture_command`,
{func}`~libvt.contrib.tmux.capture.decode_tmux_capture`, and
{class}`~libvt.contrib.tmux.control.TmuxPaneSync` accept bounded `history_lines`
(`-S 0` / `-S -N`) and enable `capture-pane -F` on `tmux >= 3.7` (with
{func}`~libvt.contrib.tmux.profile.parse_tmux_version` accepting `"master"` and
`-<suffix>` tags). `TmuxPaneSync` resizes live panes from V1 and V2 JSON
`%layout-change` notifications and adds
{meth}`~libvt.contrib.tmux.control.TmuxPaneSync.resync` (also triggered on
`%pause` / `%continue` recovery) updating `sync.terminal` in place while
advancing its epoch for {class}`~libvt.terminal.SyncToken` consumers.

### Documentation

- Expand {ref}`topics-migrating-from-pyte` with a `pyte` compatibility matrix,
Expand Down
8 changes: 5 additions & 3 deletions docs/topics/migrating-from-pyte.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,11 @@ When observing a `tmux` pane via {mod}`libvt.contrib.tmux`
{func}`~libvt.contrib.tmux.profile.tmux_profile` sets
{attr}`DeccolmBehavior.CLEAR_ONLY <libvt.config.DeccolmBehavior.CLEAR_ONLY>` and
{data}`~libvt.contrib.tmux.profile.TMUX_OBSERVER_POLICY` sets
`emit_replies=False`. `tmux` remains authoritative for pane geometry across live
attachment, and passive observation never writes duplicate query replies back to
the application.
`emit_replies=False`. `tmux` remains authoritative for pane geometry across
`%layout-change` notifications and
{meth}`TmuxPaneSync.resync <libvt.contrib.tmux.control.TmuxPaneSync.resync>`,
and passive observation never writes duplicate query replies back to the
application.

## Compatibility matrix and documented omissions

Expand Down
Loading
Loading