Codex CLI: TUI Syntax Highlighting, Theme Picker & Voice Transcription

Codex

Codex CLI 0.105.0 delivers a significant terminal interface overhaul, introducing syntax highlighting for code blocks and diffs directly in the TUI, accompanied by a /theme picker with live preview for both light and dark terminals. The release also ships an experimental voice transcription feature that allows developers to dictate prompts by holding the spacebar. New convenience commands /copy and /clear (plus Ctrl-L) round out the productivity improvements.


A New Visual Layer for the Codex Terminal Interface

Codex CLI 0.105.0, released on February 25, 2026, brings a set of quality-of-life improvements to the terminal user interface that developers have been requesting since the CLI's launch. The centerpiece of the release is syntax highlighting for fenced code blocks and diffs rendered inside the TUI β€” a feature that makes reading model output substantially easier when working with complex codebases.

Syntax Highlighting and Theming

The TUI now renders fenced code blocks with full syntax highlighting, and diffs are styled with theme-aware colors that adapt correctly to both light and dark terminal backgrounds. Alongside this, OpenAI introduced a /theme picker command with live preview, allowing users to select and confirm a visual theme without leaving the current session.

Voice Input via Spacebar

An experimental voice transcription capability ships in this release, enabled by setting features.voice_transcription = true in the Codex config file. Once enabled, holding the spacebar records audio input, which is then transcribed and inserted as the prompt text on release.

New TUI Commands

Two new commands simplify common interactions:

  • /copy copies the latest complete assistant reply to the clipboard.
  • /clear (also Ctrl-L) clears the terminal screen without discarding the current thread context.

Bug Fixes and Stability

Several TUI interaction edge cases received attention in this release. Long hyperlinks now remain clickable when wrapped across multiple lines. Follow-up prompts no longer hang when the Enter key is pressed while a final answer is still streaming. Queued-message editing now functions correctly in a wider range of environments.


Mentioned onLinkLinkLink