Skip to content

Add independent TUI rendering toggles for Mermaid, math, and tables - #46938

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/48d765eac20a82881eed94f186bf5b025ff4f0db
Sep 21, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/48d765eac20a82881eed94f186bf5b025ff4f0db

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Add independent TUI rendering toggles for Mermaid, math, and tables

What changed

Add tui.rendering.mermaid, tui.rendering.math, and tui.rendering.tables, all enabled by default and independent of animation settings. Disable individual renderers to display their source instead of diagrams, Unicode math, or formatted tables.

Apply preferences to streaming and completed responses, startup previews, and session changes. When table rendering is disabled, preserve pipe syntax, cell markup, and enclosing Markdown fences. Keep HTML clipboard formatting independent of terminal rendering preferences.

Testing

Add coverage for individual defaults, source preservation, nested table fences, session settings, and clipboard behavior. Verify incremental rendering and emitted output match completed rendering across all eight toggle combinations.

…46938)

## What changed

Add `tui.rendering.mermaid`, `tui.rendering.math`, and `tui.rendering.tables`, all enabled by default and independent of animation settings. Disable individual renderers to display their source instead of diagrams, Unicode math, or formatted tables.

Apply preferences to streaming and completed responses, startup previews, and session changes. When table rendering is disabled, preserve pipe syntax, cell markup, and enclosing Markdown fences. Keep HTML clipboard formatting independent of terminal rendering preferences.

## Testing

Add coverage for individual defaults, source preservation, nested table fences, session settings, and clipboard behavior. Verify incremental rendering and emitted output match completed rendering across all eight toggle combinations.

GitOrigin-RevId: 48d765eac20a82881eed94f186bf5b025ff4f0db
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/48d765eac20a82881eed94f186bf5b025ff4f0db branch from e486a4a to a866315 Compare September 21, 2026 03:38
@copyberry
copyberry Bot merged commit a866315 into main Sep 21, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/48d765eac20a82881eed94f186bf5b025ff4f0db branch September 21, 2026 03:39
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 21, 2026
@gaobu2005
gaobu2005 deployed to issue-triage September 21, 2026 04:31 — with GitHub Actions Active
@gaobu2005
gaobu2005 deployed to issue-triage September 21, 2026 04:31 — with GitHub Actions Active
@gaobu2005
gaobu2005 deployed to issue-triage September 21, 2026 04:31 — with GitHub Actions Active
@chyewon
chyewon deployed to issue-triage September 21, 2026 04:34 — with GitHub Actions Active
@chyewon
chyewon deployed to issue-triage September 21, 2026 04:34 — with GitHub Actions Active
@chyewon
chyewon deployed to issue-triage September 21, 2026 04:34 — with GitHub Actions Active
@chyewon
chyewon deployed to issue-triage September 21, 2026 04:35 — with GitHub Actions Active
@pzfute
pzfute deployed to issue-triage September 21, 2026 05:40 — with GitHub Actions Active
@pzfute
pzfute deployed to issue-triage September 21, 2026 05:40 — with GitHub Actions Active
@pzfute
pzfute deployed to issue-triage September 21, 2026 05:40 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — a8663150 Deployed Sep 21, 2026 by pzfute via Identify potential duplicates (all issues) #47082
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants