Repository navigation
Conversation
5 tasks done
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/vt-snapshots #1121 +/- ##
==================================================
Coverage 82.15% 82.15%
==================================================
Files 31 31
Lines 2791 2791
Branches 525 525
==================================================
Hits 2293 2293
Misses 355 355
Partials 143 143 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
5 of 6 tasks
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
why: Verify that a multi-pane tmuxp YAML workspace renders split borders, junctions, pane-border-status labels, CJK and SGR styles, zoom state, and live control-mode parity into a single composited Snapshot. what: - Add test_cli_load_multipane_workspace_window_vt_snapshots exercising main-vertical layout, pane-border-status, Window.capture_vt, VtSessionObserver.snapshot_window, assert_window_screen_box, and zoom frame deltas with .ambr snapshots
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
why: libvt 0.0.1a6+ formats vt_screen(..., diff=...) with row-paired changes, per-row caret markers, and a compact styles summary. what: - Update the zoom-frame step-diff snapshot in tests/__snapshots__/test_vt_snapshots.ambr
tony
force-pushed
the
feat/vt-window-snapshots
branch
from
December 6, 2026 02:30
7254e6f to
8c11923
Compare
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
main-verticalworkspace built bytmuxp loadviaWindow.capture_vt().VtSessionObserver.snapshot_window()andassert_window_screen_box().vt_snapshot.[tool.uv.sources]attmux-python/libtmux#939andtmux-python/libvt#137.Companion PR
libtmuxwindow VT capture: tmux-python/libtmux#939 (stacked on tmux-python/libtmux#934)Changes
pyproject.toml,uv.lock: pointlibtmuxandlibvtin[tool.uv.sources]attmux-python/libtmux#939andtmux-python/libvt#137while preserving Python 3.11 markers.tests/test_vt_snapshots.py,tests/__snapshots__/test_vt_snapshots.ambr: addtest_cli_load_multipane_workspace_window_vt_snapshotscoveringmain-verticalsplit borders,pane-border-status, CJK andSGRstyles, liveVtSessionObserver.snapshot_windowparity, and zoomed window deltas.Test plan
uv run ruff format . .github/scripts --checkanduv run ruff check . .github/scriptsuv run --no-sync ty check --python-version 3.11anduv run --no-sync ty check --python-version 3.15.ambrsnapshots pass on Python 3.15 and skip cleanly on Python 3.11 viauv run pytest tests/test_vt_snapshots.py --reruns=0tmux 3.3atomastermatrix in CI