Repository navigation
[highlights] Add ANSI terminal highlighting - #1241
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 861ce3c61e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review again |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Add
lang: 'ansi'support to HTML, token, and streaming APIs, including terminal colors, backgrounds, and text styles. Parsing stays in JavaScript; Wasm is unchanged.LiveTokenizerpreserves raw input.ANSI token output honors
tokenizeMaxLineLength: capped lines become one unstyled token, escape sequences are removed, and SGR state carries into subsequent lines, including when streaming.All 75 themes define 16
terminal.ansi.*colors from pinned upstream sources or documented editor defaults. ANSI output uses these palettes, and CSS variables use names such as--hls-terminal-ansi-red. See palette sources.Fixes #1228