Files
tai/research/tui-framework-design/koh-synchronized-output-2026.md
T
retoor 29c489e27a Standalone tai.py: native TUI framework, grouped classes, full suite green
- In-tai.py TUI framework (panels, compositor, z-layers, mouse, focus,
  VT screen, pty sub-terminals, widgets, animation) plus /demo, --demo,
  --demo-shot, tui.md docs, and research/tui-framework-design archive
- Focus safety: Tab/Shift+Tab always cycle, auto-focus prefers
  non-terminals, dialogs restore previous focus on close
- Native Consts/Install/Sandbox/Opencode/SysInfo classes in tai.py;
  module functions delegate so live patches apply; fixes 19 failures
- Retargeted 4 test patches to the real tai.* seams (assertions unchanged)
- Deleted tai_pkg/; tai.py is standalone stdlib-only (bare copy imports)
- AGENTS.md/README.md updated to the standalone architecture
- test_tai.py 320/320 OK, test_seal.py 16/16 OK
2026-10-10 23:45:12 +02:00

1.8 KiB

Synchronized output mode 2026 (koh termina port note)

Metadata

Field Value
Institute Molodetz Institute — Research & Retrieval Division
Subject tui-framework-design
Document type Source Dossier
Tier 1
Source title gold-silver-copper/koh - docs/research/port-termina.md
Source URL https://github.com/gold-silver-copper/koh/blob/HEAD/docs/research/port-termina.md
Source type repository (research note)
Source date (published) Unknown — not stated
Date researched 2026-10-10
Researched by tai (agent), model: Muse Spark, on behalf of retoor
Research method web search synthesis
Confidence High
Status Active

Summary

A terminal-emulator porting note confirming synchronized output as DEC private mode 2026: begin = CSI ? 2026 h, end = CSI ? 2026 l. The mode brackets a frame so the terminal buffers intermediate output and presents it atomically.

Key findings

  • Synchronized output is DEC private mode 2026 (DecPrivateModeCode::SynchronizedOutput in the termina codebase cited).
  • Begin Synchronized Update = \x1b[?2026h; End Synchronized Update = \x1b[?2026l.
  • Semantics: set begins an atomic update (buffer), reset ends it (present).

Pros / strengths

  • Exact byte sequences with no ambiguity, corroborated by every other result in the same search.

Cons / limitations / caveats

  • Basis is a search-result excerpt, not a full page read; terminal support matrix (which emulators honor it) not covered here.

Relevance to tai

  • Grounds the exact bytes tai's compositor wraps each frame in; unknown DEC modes are ignored by terminals, so this is safe to emit unconditionally.

Changelog

Date Change
2026-10-10 Initial dossier created.