Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
d5f3984
feat(scrollback): M1-B scrollback text cache (flat UUID files)
TIIEHenry Oct 10, 2026
11bb51c
feat(session): A0 XDG state/cache dir helpers
TIIEHenry Oct 10, 2026
f9f37a8
feat(session): A1 SessionManager core (lock, atomic save, finalize)
TIIEHenry Oct 10, 2026
dc61c97
feat(session): A2 defaults, CLI flags, hide __last_session__
TIIEHenry Oct 10, 2026
6cbac60
feat(session): A7 D17 close confirm with process ignore list
TIIEHenry Oct 10, 2026
649d005
feat(session): A2b–A6 startup restore, destroy finalize, dirty hooks
TIIEHenry Oct 10, 2026
b30c7a7
test(session): unit tests for SessionManager and D17 process rules
TIIEHenry Oct 10, 2026
e32a93a
feat(titlebar): C0 titlebar config keys and shared pane chrome CSS
TIIEHenry Oct 10, 2026
1418952
feat(titlebar): C1-C8 Wave-style pane titlebar
TIIEHenry Oct 10, 2026
c858ce8
test(titlebar): C9 unit tests for titlebar chrome, D15, maximise shim…
TIIEHenry Oct 10, 2026
36b93d6
Merge feature/m1-scrollback into integration/m1
TIIEHenry Oct 10, 2026
be0bba5
Merge feature/m2-titlebar into integration/m1
TIIEHenry Oct 10, 2026
6e21f78
fix: avoid gsettings abort without schema; rename close_confirm helper
TIIEHenry Oct 10, 2026
a1eab4d
test: M0 reproducible test runner (tests/run_tests.sh)
TIIEHenry Oct 10, 2026
c12373f
feat(autofont): E1+E2 stepped reading-measure helpers and config
TIIEHenry Oct 10, 2026
c7d9ded
feat(autofont): E3–E5 per-terminal auto scale, zoom pause, badge popover
TIIEHenry Oct 10, 2026
71b091b
prefs: Session page (A8+B5) and title bar options (C0)
TIIEHenry Oct 10, 2026
d226924
Merge feature/m1-prefs into integration/m1
TIIEHenry Oct 10, 2026
7888100
Merge feature/m2b-font-scale into integration/m1
TIIEHenry Oct 10, 2026
7fe9f48
feat(overlay): Wave-style single-pane overlay maximise (M3 / D)
TIIEHenry Oct 10, 2026
eafdd9c
Merge feature/m3-overlay into integration/m1
TIIEHenry Oct 10, 2026
c0364c4
Merge integration/m1 into feature/m3-overlay
TIIEHenry Oct 10, 2026
a5b8308
prefs: overlay maximise (D-prefs) and auto font scale (E6) options
TIIEHenry Oct 10, 2026
f87a89d
fix(m4): session dirty hooks, suspend/restore, restart spawn, overlay…
TIIEHenry Oct 10, 2026
6d04906
fix(m4): Window._overlay init order; VTE 0.80 feed() needs bytes
TIIEHenry Oct 10, 2026
03b25de
feat(m5): width-first auto font, Wave titlebar colours, quieter title…
TIIEHenry Oct 10, 2026
3a28aac
style(m5): readable titlebar badge/close on dark Wave bars
TIIEHenry Oct 10, 2026
36fa024
feat(m5): default maximise shortcut Ctrl+Shift+Return; add missing ke…
TIIEHenry Oct 10, 2026
979beb7
Merge feature/m4-followups (M5)
TIIEHenry Oct 10, 2026
84672e5
docs: add session-restore design, sub-plans, and review findings
TIIEHenry Oct 10, 2026
5f8a0a8
fix(m6): 'Close group' now goes through aggregated running-process co…
TIIEHenry Oct 10, 2026
04f129d
Merge feature/m4-followups (design docs)
TIIEHenry Oct 10, 2026
9644f23
Merge branch 'feature/m6-bulk-close' into integration/m1
TIIEHenry Oct 10, 2026
40e25d0
fix(m7): split-in-tab crash, premature session finalize, cwd autosave…
TIIEHenry Oct 10, 2026
1c89c58
Merge feature/m7-tabs into integration/m1
TIIEHenry Oct 10, 2026
8f58ff9
fix(window-title): last-focused terminal owns the window title; coale…
TIIEHenry Oct 10, 2026
de469d6
test(window-title): Xvfb smoke with 3+ panes emitting OSC titles in l…
TIIEHenry Oct 10, 2026
5d19363
fix(window-title): review follow-ups; only save forced window title i…
TIIEHenry Oct 10, 2026
f90b23b
Merge feature/m7-window-title into integration/m1
TIIEHenry Oct 10, 2026
3a09e52
feat(m8): auto-hide scrollbar while a fullscreen TUI uses the alterna…
TIIEHenry Oct 10, 2026
9afecda
fix(m8): detach altscreen on close (VTE leak), never hide on unknown …
TIIEHenry Oct 10, 2026
1d4770a
Merge feature/m8-tui-scrollbar into integration/m1
TIIEHenry Oct 10, 2026
d03a01d
fix(m9): don't let scrollback cache snapshot the alternate screen (vi…
TIIEHenry Oct 10, 2026
a0997b3
Merge feature/m9-altscreen-cache into integration/m1
TIIEHenry Oct 10, 2026
b8464ca
fix(m10): atomic config save (tempfile+fsync+replace), keep symlinks …
TIIEHenry Oct 10, 2026
72ab9d2
fix(m9 review): defer scrollback flush for any collapsed+busy episode…
TIIEHenry Oct 10, 2026
1e16deb
Merge fix/m9-review (independent review of m7/m8/m9)
TIIEHenry Oct 10, 2026
54942d7
fix(m11): keep user-set window title across session restore; CLI -T n…
TIIEHenry Oct 10, 2026
ab0431c
Merge feature/m11-forced-title-restore into integration/m1
TIIEHenry Oct 10, 2026
d1e7a43
fix(m10-review): new config file honours umask (not 0600); fsync dir;…
TIIEHenry Oct 10, 2026
47ba524
Merge feature/m10-config-atomic-save into integration/m1
TIIEHenry Oct 10, 2026
7302b1e
fix(m12): drop superseded queued scrollback writes (seq per uuid) so …
TIIEHenry Oct 10, 2026
4faf2f6
Merge feature/m12-scrollback-ordering into integration/m1
TIIEHenry Oct 10, 2026
3bde426
fix(m12-review): hold io lock across worker seq-check+write and sync …
TIIEHenry Oct 10, 2026
27cdb29
Merge fix/m12-review into integration/m1
TIIEHenry Oct 10, 2026
7552ad6
fix(m13): snapshot scrollback on Enter before a TUI hides history; LR…
TIIEHenry Oct 10, 2026
adf7ddd
test(m13): make Xvfb TUI-restore smoke script portable
TIIEHenry Oct 10, 2026
4cbd034
Merge feature/m13-tui-restore-smoke into integration/m1
TIIEHenry Oct 10, 2026
836e280
test(m13): guard fake_tui with __main__ (doctest collection imported …
TIIEHenry Oct 10, 2026
071694f
Merge m13 follow-up: guard fake_tui (__main__) so doctest collection …
TIIEHenry Oct 10, 2026
1eacd53
fix(m13-review): drop dead _rotate_index; clear_all resets LRU/snapsh…
TIIEHenry Oct 10, 2026
2cd6062
Merge fix/m13-review into integration/m1
TIIEHenry Oct 10, 2026
cd9e9a7
feat(m14): scrollback cache preserves colours (VTE HTML export -> sel…
TIIEHenry Oct 10, 2026
b7d5857
fix(m14): single contents-changed handler (no orphaned/duplicate hand…
TIIEHenry Oct 10, 2026
46dc4ab
test(m14-review): reconfigure keeps exactly one contents-changed handler
TIIEHenry Oct 10, 2026
dc33640
Merge feature/m14-tui-scrollbar-fix into integration/m1 (independentl…
TIIEHenry Oct 10, 2026
90cbe31
fix(m14 review): HTML->SGR conversion + truncation moved to writer th…
TIIEHenry Oct 10, 2026
109dda2
Merge m14: scrollback cache keeps colours (reviewed)
TIIEHenry Oct 10, 2026
6368742
feat(m15): defer rate-limited pre-command snapshot instead of droppin…
TIIEHenry Oct 10, 2026
7b51686
fix(m15 review): token-bucket (burst 3, 1/s) so two quick Enters (ech…
TIIEHenry Oct 10, 2026
58a5279
Merge feature/m15-save-throttle into integration/m1 (independently re…
TIIEHenry Oct 10, 2026
e7bfafb
fix(m15 review2): cancel pending deferred snapshot on terminal close …
TIIEHenry Oct 10, 2026
abf6b19
Merge fix/m15-review2 (independent review)
TIIEHenry Oct 10, 2026
f18433f
feat(m16): runtime total-size scrollback cache GC (orphans first, thr…
TIIEHenry Oct 10, 2026
8473c8c
test(m16 review): restore Borg state in gc test fixture
TIIEHenry Oct 10, 2026
a347e22
Merge feature/m16-scrollback-gc into integration/m1 (reviewed)
TIIEHenry Oct 10, 2026
cf0d77a
fix(m16 review): never delete live terminal caches at runtime (churn/…
TIIEHenry Oct 10, 2026
e73b621
feat(m17): 0 disables scrollback_cache_total_mb/ttl_days consistently…
TIIEHenry Oct 10, 2026
3841a63
Merge fix/m16-review into integration/m1 (independently reviewed)
TIIEHenry Oct 10, 2026
e56f565
Merge feature/m17-zero-off into integration/m1 (independently reviewed)
TIIEHenry Oct 10, 2026
634c29b
scrollback: drop unreachable live-file GC rewrite path (m16 review fo…
TIIEHenry Oct 10, 2026
1fcf6d9
m18: prefs hint 0=off + live files per-file bound; atomic GC counter …
TIIEHenry Oct 10, 2026
e806a25
m18 review: _io_lock -> RLock, _bump always locks (owner-safe); tests
TIIEHenry Oct 10, 2026
63ceea6
Merge feature/m18-cache-prefs-hints into integration/m1 (independentl…
TIIEHenry Oct 10, 2026
d6cb590
m19: count sync (on-close) cache writes toward GC bytes; Vte require_…
TIIEHenry Oct 10, 2026
bae4026
Merge feature/m19-close-bytes-warnings into integration/m1 (independe…
TIIEHenry Oct 10, 2026
46659a1
m20: replace GObject main-loop helpers with GLib; on_tab_switch retur…
TIIEHenry Oct 10, 2026
90fb425
Merge feature/m20-glib-timers into integration/m1 (independently revi…
TIIEHenry Oct 10, 2026
7dcc5e2
docs: document fork config keys, keybindings, CLI flags and titlebar …
TIIEHenry Oct 10, 2026
fe56a85
i18n: add new source files to POTFILES.in, regenerate terminator.pot,…
TIIEHenry Oct 10, 2026
b3b0480
packaging/docs: ship tests/fixtures and tests/smoke in sdist; CHANGEL…
TIIEHenry Oct 10, 2026
a3ea8d0
m22 review: accuracy and i18n fixes
TIIEHenry Oct 10, 2026
5d99ee5
Merge feature/m22-docs-i18n into integration/m1 (independently reviewed)
TIIEHenry Oct 10, 2026
a2734dd
m21: end-to-end restore round-trip test (Xvfb) + robustness cases; ke…
TIIEHenry Oct 10, 2026
9e92970
m23: UI review fixes — overlay root tracking + collapse guard (P0-1),…
TIIEHenry Oct 10, 2026
9ef4f34
m21: session persistence fixes (review P0-1, P1-1..P1-5)
TIIEHenry Oct 10, 2026
1d9ced3
m21: scrollback/close-confirm/config fixes and strings
TIIEHenry Oct 10, 2026
73f6c0b
Merge branch 'integration/m1' into feature/m21-persist-fixes
TIIEHenry Oct 10, 2026
2de1cbf
m23 review: fast altscreen reschedule preempts pending latched poll; …
TIIEHenry Oct 10, 2026
da71498
Merge feature/m23-ui-fixes into integration/m1 (independently reviewed)
TIIEHenry Oct 10, 2026
937690d
Merge branch 'integration/m1' into feature/m21-persist-fixes
TIIEHenry Oct 10, 2026
f5939ae
Merge branch 'integration/m1' into feature/m21-restore-roundtrip
TIIEHenry Oct 10, 2026
9377f68
m21 review: get_cwd never falls back to Terminator's own cwd once the…
TIIEHenry Oct 10, 2026
c976d44
Merge feature/m21-persist-fixes into integration/m1 (independently re…
TIIEHenry Oct 10, 2026
3a9fca5
Merge feature/m21-restore-roundtrip into integration/m1 (independentl…
TIIEHenry Oct 10, 2026
0823094
i18n: regenerate terminator.pot; zh_CN for m21 strings (restore separ…
TIIEHenry Oct 10, 2026
7ee484b
m25: guard session save during legacy zoom; replay dropped doing_layo…
TIIEHenry Oct 10, 2026
b5b7415
m25: persist per-terminal font size and auto-font lock in session layout
TIIEHenry Oct 10, 2026
b84bb15
Merge feature/m25-legacy-zoom-save-guard into integration/m1 (indepen…
TIIEHenry Oct 10, 2026
ed2dc3c
Merge feature/m25-font-state-persist into integration/m1 (independent…
TIIEHenry Oct 10, 2026
e1962f5
m25 followups: deregister_window marks dirty; final-save guard for st…
TIIEHenry Oct 10, 2026
b34fd77
Merge feature/m25-followups into integration/m1 (independently reviewed)
TIIEHenry Oct 10, 2026
251e57d
m24: end-to-end GUI suite (tests/e2e, real terminator under Xvfb+xfwm…
TIIEHenry Oct 10, 2026
d8f4251
m25: round-2 integration review fixes (P1-1..3, P2-1..9)
TIIEHenry Oct 10, 2026
a18997a
m25 round2: ordering tests vs merged zoom guard / followups (single f…
TIIEHenry Oct 10, 2026
acf7eed
Merge feature/m25-round2-fixes into integration/m1 (independently rev…
TIIEHenry Oct 10, 2026
3fde459
m26: session safety — rotate only after the new file is written, load…
TIIEHenry Oct 10, 2026
3f04ff5
m24 review: e2e isolation/cleanup hardening, xfail marker for 2b, pol…
TIIEHenry Oct 10, 2026
4ce830b
Merge branch 'integration/m1' into feature/m24-e2e
TIIEHenry Oct 10, 2026
20c37a4
m26: auto font — any 2-pane split stays 100% (panes >= 45% of their w…
TIIEHenry Oct 10, 2026
a942c20
Merge feature/m24-e2e into integration/m1 (independently reviewed: is…
TIIEHenry Oct 10, 2026
2d9f577
m26: unify legacy-zoom / overlay-maximise exit in zoomguard.leave_zoo…
TIIEHenry Oct 10, 2026
fea6cfe
m26: prefs — new 'Panes' tab for title bar / maximise / font scaling …
TIIEHenry Oct 10, 2026
3a9f61f
m26: excluded-window follow-ups (record exclusion before detach; grow…
TIIEHenry Oct 10, 2026
54516d3
m26 review: route Container.closeterm legacy unzoom and Paned collaps…
TIIEHenry Oct 10, 2026
107740b
Merge feature/m26-zoom-unify into integration/m1 (independently revie…
TIIEHenry Oct 10, 2026
42d083d
m26: round2-ux P2s — titlebar maximise refresh walks the tree once an…
TIIEHenry Oct 10, 2026
c8d760f
m26: i18n/docs — regenerate terminator.pot, zh_CN for new strings (窗格…
TIIEHenry Oct 10, 2026
0f4678a
Merge branch 'integration/m1' into feature/m26-ux-fixes
TIIEHenry Oct 10, 2026
9a4e4af
m26: keep the 60-column reading measure (2-pane splits are pinned to …
TIIEHenry Oct 10, 2026
3063ccd
m26 review: closeterm stale-zoom recursion guard; leave_zoom quiet=Fa…
TIIEHenry Oct 10, 2026
05f2c4e
Merge feature/m26-exclusion-followups into integration/m1 (independen…
TIIEHenry Oct 10, 2026
95b0cc8
m26 review: quarantine a rotated session that failed to restore; titl…
TIIEHenry Oct 10, 2026
bbde716
Merge feature/m26-ux-fixes into integration/m1 (independently reviewe…
TIIEHenry Oct 10, 2026
9830d38
Merge fix/m26-review into integration/m1 (independent m26 review: clo…
TIIEHenry Oct 10, 2026
8c01164
tests: m26 stale-zoom closeterm test stops at remove() (session captu…
TIIEHenry Oct 10, 2026
7c776c8
m26 post-review: hard crash while restoring .prev/.prev2 quarantines …
TIIEHenry Oct 10, 2026
8357223
m26 post-review: log session capture failure before last close at err…
TIIEHenry Oct 10, 2026
57406e3
Merge fix/m26-postreview into integration/m1 (crash quarantines resto…
TIIEHenry Oct 10, 2026
7227ce9
m27: crash marker follows session rotation during restore; marker rob…
TIIEHenry Oct 10, 2026
08ec180
m27 test: fix expectation
TIIEHenry Oct 10, 2026
ca2ea2b
Merge feature/m27-restore-rotation-guard into integration/m1 (crash m…
TIIEHenry Oct 10, 2026
5e17743
m27: restore_failed follows crash marker's current source after rotat…
TIIEHenry Oct 10, 2026
87adfe2
Merge feature/m27-restore-rotation-guard: restore_failed follows rota…
TIIEHenry Oct 10, 2026
31fb710
m28: freeze session autosave once the GDK display is lost; tests
TIIEHenry Oct 10, 2026
186873e
Merge branch 'feature/m28-display-loss-save-guard' into integration/m1
TIIEHenry Oct 10, 2026
0ebde53
m29: scrollback cache skips writes after display loss; watch_display …
TIIEHenry Oct 10, 2026
1d4f0bc
Merge branch 'feature/m29-displaylost-cache-tests' into integration/m1
TIIEHenry Oct 10, 2026
a0e9c5a
m30: real-GUI e2e: SIGKILL crash recovery + quit/relaunch scenarios; …
TIIEHenry Oct 10, 2026
51bf711
m31: E2E guard rails for session restore (missing cwd, crash marker, …
TIIEHenry Oct 10, 2026
15ab398
m30 review: hook takes e2e lane lock, timeout SIGTERMs runner + reaps…
TIIEHenry Oct 10, 2026
0710d4c
Merge branch 'feature/m30-real-e2e' into integration/m1
TIIEHenry Oct 10, 2026
3663211
m31: crash-marker fallback restore (.prev/.prev2, else quarantined fi…
TIIEHenry Oct 10, 2026
9c50a74
m31 review: guard scenarios assert fresh shell starts in HOME (not ju…
TIIEHenry Oct 10, 2026
210519a
Merge branch 'feature/m31-e2e-restore-guards' of https://github.com/T…
TIIEHenry Oct 10, 2026
52a179c
m31 review: safe mode keeps restored uuids' scrollback cache (no over…
TIIEHenry Oct 10, 2026
d09baba
Merge branch 'feature/m31-crash-fallback-restore' into integration/m1
TIIEHenry Oct 10, 2026
38e231f
m32: scrollback timer/worker/delete honour display loss (sticky); tests
TIIEHenry Oct 10, 2026
b5d05e0
m33: robustness fixes (scaled scrollback flush budget, HiDPI snapshot…
TIIEHenry Oct 10, 2026
0253206
m33 review: divider drag marks session dirty; cancel pending scrollba…
TIIEHenry Oct 10, 2026
35dfd13
Merge branch 'feature/m33-robustness' into integration/m1
TIIEHenry Oct 10, 2026
7b1d5b5
Merge feature/m32-followups into integration/m1
TIIEHenry Oct 10, 2026
fab45b9
m33 post-review: draw HiDPI device-res snapshot at logical size in Pa…
TIIEHenry Oct 10, 2026
6162f6d
Merge fix/m33-postreview into integration/m1
TIIEHenry Oct 10, 2026
6457be8
m33 fix-review: scale placeholder snapshot by captured logical width,…
TIIEHenry Oct 10, 2026
d140835
Merge fix/m33-fix-review into integration/m1
TIIEHenry Oct 10, 2026
f47ef16
m36: hide pane titlebar icons by default (titlebar_show_icon)
TIIEHenry Oct 10, 2026
bd823e5
m35: translations when running from a source checkout
TIIEHenry Oct 10, 2026
d4dd51c
m34 WIP: Wayland graceful degradation + HiDPI (backend detection, pos…
TIIEHenry Oct 10, 2026
fdd7274
m34: keep Terminator layout state from leaking out of restore tests
TIIEHenry Oct 10, 2026
60a6f41
m36 post-review: isolate prefs roundtrip save, real po source refs, u…
TIIEHenry Oct 10, 2026
aa563e2
Merge feature/m36-no-pane-icon into integration/m1
TIIEHenry Oct 10, 2026
d163fbc
Merge remote-tracking branch 'origin/integration/m1' into feature/m34…
TIIEHenry Oct 10, 2026
314c0b5
m35 review: pure-Python .po->.mo fallback, cleanup, opt-out values, z…
TIIEHenry Oct 10, 2026
e1d6060
m37: smooth pane maximise animation
TIIEHenry Oct 10, 2026
cf6e115
Merge remote-tracking branch 'origin/integration/m1' into feature/m37…
TIIEHenry Oct 10, 2026
ea6c8a8
m35 re-review: find catalogues of installs under another prefix; zh T…
TIIEHenry Oct 10, 2026
bb78095
Merge feature/m35-source-locale into integration/m1
TIIEHenry Oct 10, 2026
16a44d6
Merge feature/m37-smooth-maximise into integration/m1
TIIEHenry Oct 10, 2026
af2687e
Merge feature/m34-wayland-hidpi into integration/m1 (independent revi…
TIIEHenry Oct 10, 2026
42c4969
m38: maximise follow-ups (alpha snapshot, Wayland blank fallback, Ani…
TIIEHenry Oct 10, 2026
59e8b0c
Merge feature/m38-maximise-followups
TIIEHenry Oct 10, 2026
8d0295b
m37 fix: transparent backgrounds don't darken or go opaque under the …
TIIEHenry Oct 10, 2026
9cce48d
m39: import GLib in window.py (geometry hinting NameError); auto font…
TIIEHenry Oct 10, 2026
22bf160
m39 review: no resize-increment hints while auto font size is active
TIIEHenry Oct 10, 2026
e832100
Merge feature/m39-geometry-hints (independent review: pass after 1 P2…
TIIEHenry Oct 10, 2026
32a1973
Merge fix/m37-transparent-snapshot into integration/m1 (independent r…
TIIEHenry Oct 10, 2026
fe3e93f
m40: refresh stale auto-font base cell on VTE char-size-changed
TIIEHenry Oct 10, 2026
621dcbc
m40 self-review: use live VTE metrics, ignore out-of-date char-size-c…
TIIEHenry Oct 10, 2026
29069b8
Merge fix/m40-dpi-base-cell into integration/m1 (independent review: …
TIIEHenry Oct 10, 2026
f735675
Let the sidebar rearrange tabs and panes, and match the window chrome…
TIIEHenry Oct 11, 2026
cb563d4
Forget unlocked tabs on a normal exit, and keep the scrollbar width w…
TIIEHenry Oct 13, 2026
e01f8c9
Use the current main window as the project screenshot.
TIIEHenry Oct 13, 2026
dd51d07
Describe the layout interaction, the VTE base, and the thin window ch…
TIIEHenry Oct 13, 2026
e9c52d5
Call the application TerminatorX and lead the README in Chinese.
TIIEHenry Oct 13, 2026
944b361
Point the README at upstream for history, shortcuts and licensing.
TIIEHenry Oct 13, 2026
ab3b3e7
Follow the pane size for auto font while a TUI is running, and share …
wortiz3green Oct 15, 2026
857ad2c
Leave the tab list outside a maximised pane.
TIIEHenry Oct 15, 2026
a268e71
Apply the 2026-10-15 review fixes, keep scrollback colour without HTM…
TIIEHenry Oct 16, 2026
a1c0aba
Give a fullscreen program the scrollbar's width.
TIIEHenry Oct 19, 2026
984f4c3
Remember each tab's maximised pane across switches and session restore.
TIIEHenry Oct 20, 2026
b04b2e4
Anchor the running-process close prompt to the pane being closed.
TIIEHenry Oct 22, 2026
8cf9403
Paste an image-only clipboard as a file path, and keep the scrollbar …
TIIEHenry Oct 26, 2026
cb2c8f5
Enlarge the zoomed terminal font when a two-way split only grows one …
TIIEHenry Oct 29, 2026
6108ae1
Hold the scrollbar through a raw-mode redraw, and restore the scroll …
wortiz3green Oct 29, 2026
2e3e5cf
Keep the terminal grid stable when a fullscreen program hides the scr…
TIIEHenry Nov 4, 2026
f8de2d5
Keep the row count steady when a pane maximises or restores, and bala…
TIIEHenry Nov 6, 2026
4bd8a38
Keep the scroll offset still when the font and scrollbar change, and …
TIIEHenry Nov 12, 2026
30e3068
Preserve tab lock state when promoting, merging, or zooming panes.
TIIEHenry Nov 16, 2026
fa8e808
Safely access vadjustment when logging scrollbar visibility changes.
TIIEHenry Nov 16, 2026
21df318
Keep a full scrollback the same distance from the latest line when co…
TIIEHenry Nov 17, 2026
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ terminatorlib/meliae
.intltool*
data/terminator.appdata.xml
data/terminator.desktop

## Test env (tests/run_tests.sh)
/.venv-test
data/terminator.metainfo.xml
install-files.txt
1 change: 1 addition & 0 deletions .ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/archive/
30 changes: 30 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# TerminatorX 开发约束

TerminatorX 在一个窗口里放多个终端。命令名仍是 `terminator`。桌面名、关于页和默认窗口标题用 TerminatorX。关于页的开发与问题链接指向 https://github.com/TIIEHenry/TerminatorX 。许可是 GPL v2 only。

- `docs/` 是当前需求、原则和设计。`dev/` 是计划、审查和待处理项。`archive/` 是已结束的过程材料和失效文档,不能直接当作当前规则。2026-09-07 的设计稿和 2026-10-15 的审查在归档里,其中的行号对应当时的提交,不能当作现行代码位置。
- 本 fork 新增的会话恢复、关闭确认、回滚缓存、窗格标题栏、浮层最大化、自动字号、备用屏幕隐藏滚动条、分割后均分,默认都开着。关掉某一项要改配置或首选项,不要在代码里把默认改成关。依据见 [默认开启](docs/decisions/defaults-on.md)。
- 会话恢复布局、工作目录、锁定状态和回滚缓存,不恢复正在运行的程序,也不重连 ssh。正常退出写入的会话只保留锁定的标签;没有标签列表的窗口仍保留。进程被杀死时,磁盘上仍是退出前的完整布局。依据见 [锁定标签](docs/decisions/locked-tabs.md)。
- 走布局父子关系时用 `terminatorlib.util.logical_parent`,不要用 `get_parent()` 把暂时插入的 `Gtk.Overlay`、窗格框或左侧标签列表外壳当成布局节点。浮层只在窗格最大化期间插入。依据见 [逻辑父节点](docs/decisions/logical-parent.md)。
- 会话文件里的布局叶子写成字符串。恢复代码用字符串比较,例如 `'True'`。不要写入 JSON 原生布尔值。
- 关闭终端、标签、窗口或布局,走 `close_confirm.request_close_terminal` 或 `construct_confirm_close_with_processes`,不要另做一套确认对话框。
- 配置默认值以 `terminatorlib/config.py` 为准。改键时同时改首选项和 `doc/terminator_config.adoc`。用户能感知的行为变化写进 `CHANGELOG.md`。
- 测试进程在收集前必须先请求 Gtk 3.0 和 Vte 2.91。仓库根的 `conftest.py` 已经这样做。测试模块不要在这之前自行 `import` Gtk。
- 新建文档路径不得含空格、`#`、`%` 或括号。复制模板后改成具体主题名。状态写在正文第一行,不写进文件名。
- 整页归档用 `python3 scripts/wiki/wiki.py archive <路径> --root .` 预览,再加 `--apply --expect <plan_sha256>` 执行。目标已存在时停止,不覆盖。新建前运行 `check-new`。命中历史时判断是恢复、延续还是新主题。
- 状态行、核对行、需求条目、审查问题和待处理项的写法以 `scripts/wiki/formats.md` 为准。配置和规则名在 `scripts/wiki/reference.md` 里按名称搜索,不整篇读。
- 核对人、作者、负责人和签收人写成 `human:<名字>` 或 `agent:<名字>`。Agent 只能写 `agent:`。知识页核对后写 `核对:agent:<名字>,YYYY-MM-DD。`,会过期的页面同时写复核期限。
- 一次审查放在 `dev/reviews/<开始日期>-<主题>/`。每一路一个文件,每条问题一个小节。复查在核对表里追加一行。核对人不能是作者。能写成已有文件里的一节,就不新建文件。
- AI 工具生成的计划、报告和草稿放进 `dev/`,不能写进 `docs/`。
- 拿不准放哪里的问题和想法,一条一文件写进 `dev/inbox/<类型>/<主题>.md`。处理完写明去向,状态改为「已完成」,再归档。
- 只暂存本次工作相关的文件。不要还原其他人和其他 Agent 的未提交改动。
- 留下占位实现或 `TODO` 时写明原因、影响和清理时机。
- 按改动范围运行 `python3 scripts/wiki/wiki.py verify --root .`。命令只登记在 `docs/wiki.json` 的 `verify` 里。计划里的验证记录用 `verify` 的输出,不手写命令结果。
- 新功能和行为变化在同一次改动中写需求条目。设计写「对应需求:」,计划写「覆盖需求:」,测试在说明文字里写验收编号。能写测试的条目写测试。普通修复引用已有编号,不新建需求。
- 决定或设计变化时,同一次改动里更新仍写着旧结论的需求、设计、模块入口和本文件。推翻已采用的决定要补新的决策记录。
- 开始任务时运行 `python3 scripts/wiki/wiki.py remind --root .`。看到 `[agent]` 提醒就更新对应文档,或在提交信息最后一段写 `Docs-Reviewed: <名称> <理由>`。看到 `[user]` 提醒先向用户确认。不得用 `--no-verify` 跳过钩子。
- 每个 clone 启用一次提交检查:`git config core.hooksPath scripts/wiki/hooks`。
- 日常搜索通过 `.ignore` 排除 `archive/`。`grep -R` 不读 `.ignore`,常规查询加 `--exclude-dir=archive`。
- `archive/INDEX.md` 和归档里的审查目录会持续变长。按主题或文件名搜索,只读命中的文件,不整篇读入。

知识与阅读条件见 [知识入口](docs/INDEX.md)。开发规范见 [开发规范](docs/standards/development.md)。接续已有任务才读 [开发入口](dev/INDEX.md)。
Loading