Skip to content

v0.4.1 - Fix codex TUI rendering on Windows

Latest

Choose a tag to compare

@bcurts bcurts released this 22 May 01:06

Patch release — Windows TUI fix

Newer codex builds (v0.133.0+) were stripping ENABLE_VIRTUAL_TERMINAL_PROCESSING from the console mid-frame, causing ANSI escape sequences to leak as literal ←[?2026h text instead of being interpreted. The codex TUI was unreadable.

Fix: wrapper_windows.py now opens CONOUT$ directly and runs a daemon thread that re-asserts the VT bit — tight 1ms burst during agent startup (covers the mode-stripping window), then 10ms steady-state for the wrapper's lifetime. Trivial CPU cost; banner renders cleanly.

Affects: codex on Windows. Other agents/platforms unchanged.