Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## experiment/libvt-capture-metadata #939 +/- ##
=====================================================================
+ Coverage 62.88% 63.08% +0.20%
=====================================================================
Files 30 30
Lines 5658 5735 +77
Branches 1181 1197 +16
=====================================================================
+ Hits 3558 3618 +60
- Misses 1712 1723 +11
- Partials 388 394 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
4 tasks done
tony
added a commit
to tmux-python/tmuxp
that referenced
this pull request
Dec 1, 2026
why: tmux < 3.6 assigns odd remainder rows in layout_spread_cell to the bottom split pane whereas tmux >= 3.6 assigns them to the top pane; an 8-row window gives 3 + 3 interior rows with zero remainder across all tmux versions. what: - Size the dashboard PTY to 35x8 and refresh .ambr snapshots - Point [tool.uv.sources] at the latest tmux-python/libtmux#939 tip
This was referenced Dec 1, 2026
tony
force-pushed
the
feat-933-vt-window
branch
from
December 5, 2026 14:51
6fc46db to
79d0946
Compare
tony
changed the base branch from
feat-933-vt
to
experiment/libvt-capture-metadata
December 5, 2026 16:45
tony
force-pushed
the
feat-933-vt-window
branch
from
December 5, 2026 16:45
79d0946 to
7427135
Compare
tony
added a commit
that referenced
this pull request
Dec 5, 2026
why: Record multi-pane Window.vt layout composition and borders. what: - Add unreleased 0.73.0 feature notes for #939.
tony
force-pushed
the
experiment/libvt-capture-metadata
branch
from
December 5, 2026 18:41
fb7be39 to
f947716
Compare
tony
force-pushed
the
feat-933-vt-window
branch
from
December 5, 2026 18:41
7427135 to
8b2eedb
Compare
tony
force-pushed
the
experiment/libvt-capture-metadata
branch
from
December 5, 2026 22:53
f947716 to
57fe099
Compare
tony
added a commit
that referenced
this pull request
Dec 5, 2026
why: Record multi-pane Window.vt layout composition and borders. what: - Add unreleased 0.73.0 feature notes for #939.
tony
force-pushed
the
feat-933-vt-window
branch
from
December 5, 2026 22:53
8b2eedb to
9b32eb7
Compare
why: Let callers capture split tmux windows into a single composited Snapshot with dividers, junctions, border status labels, and cursor coordinates, or composite watched panes over a live tmux -C observer. what: - Add capture_window_vt, Window.capture_vt, assert_window_screen, and assert_window_screen_box - Add VtSessionObserver.snapshot_window over control mode - Add split-pane, border-status, zoom, error, and observer parity tests
why: Show tested multi-pane Snapshot grids in the VT guide. what: - Add a 3-pane split window doctest to docs/api/libtmux.vt.md
why: Sending enter to every pane lets tmux reap the window before win.kill() runs under faster scheduling. what: - Call win.kill() directly in test_window_capture_vt_splits_border_status_zoom_and_errors
why: libvt checks active-pane stability in WIN_POST, sizes 3.3a-3.5 border-status spans to wp.width - 4, and derives default parse profiles from tmux_version. what: - Pass include_layout=True and forward profile directly in capture_window_vt - Shorten pane 2 title to fit 3.3a-3.5 border-status width and test focus switches
why: Writing CSI 2 J before Window.split fills the initial full-width row with tmux GRID_FLAG_CLEARED spaces, causing grid_reflow_split to wrap cleared trailing cells and push row 0 into scrollback if python writes before split-window shrinks the pane. what: Omit redundant CSI 2 J / CSI H prefixes on freshly spawned split-window doctest and test commands so row cellused matches visible text width.
why: Record multi-pane Window.vt layout composition and borders. what: - Add unreleased 0.73.0 feature notes for #939.
tony
force-pushed
the
experiment/libvt-capture-metadata
branch
from
December 6, 2026 02:23
57fe099 to
57d6169
Compare
tony
force-pushed
the
feat-933-vt-window
branch
from
December 6, 2026 02:24
9b32eb7 to
0f83e37
Compare
tony
added a commit
to tmux-python/tmuxp
that referenced
this pull request
Dec 6, 2026
why: tmuxp #1121 consumes Window.capture_vt and VtSessionObserver window capture APIs from tmux-python/libtmux#939, which now requires libvt >=0.0.1a7,<0.1. what: - Pin libtmux in [tool.uv.sources] to 0f83e37c545787bf089047ade1357c4c1197b6d2 - Refresh uv.lock against libvt 0.0.1a7
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Window.capture_vt()andcapture_window_vt()to composite split windows into aSnapshot.VtSessionObserver.snapshot_window()to composite live watched panes over control mode.assert_window_screen()andassert_window_screen_box()for multi-pane layout and cursor checks.Companion PR
libvt>=0.0.1a6,<0.1): tmux-python/libvt#137Changes
src/libtmux/vt.py,src/libtmux/window.py: addcapture_window_vt,Window.capture_vt,VtSessionObserver.snapshot_window,assert_window_screen, andassert_window_screen_box.tests/test_vt.py: add split-pane,pane-border-status, zoom, error, and control-mode observer parity tests.docs/api/libtmux.vt.md,CHANGES: add a tested 3-pane split window doctest and changelog notes.Test plan
uv run ruff format . .github/scripts --checkanduv run ruff check . .github/scriptsuv run ty checkanduv run ty check --python-version 3.15uv run pytest tests/test_vt.py src/libtmux/vt.py src/libtmux/window.py docs/api/libtmux.vt.md --reruns=0just build-docstmux 3.3atomastermatrix in CI