mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
Keep bidirectional TUI headers stable during shimmer (#61731)
## Why Per-grapheme color updates can break native terminal bidirectional rendering in thinking and reasoning headers. ## What changed Render text containing strong right-to-left characters or Arabic numbers as a single, static dimmed span in both shimmer implementations. Preserve logical text order and use one-second clock updates for these status headers when progress animation is disabled. ## Testing Add snapshot coverage for Hebrew, Arabic, mixed-direction text, and Arabic numbers, checking that headers remain unchanged during the shimmer sweep. Add scheduling tests for static headers and active progress animation. GitOrigin-RevId: 911abc50f00db597ae4dcfca9941e9f63547c2f9
This commit is contained in:
Generated
+1
@@ -5350,6 +5350,7 @@ dependencies = [
|
||||
"tracing-appender",
|
||||
"tracing-subscriber",
|
||||
"two-face",
|
||||
"unicode-bidi",
|
||||
"unicode-linebreak",
|
||||
"unicode-segmentation",
|
||||
"unicode-width 0.2.1",
|
||||
|
||||
Reference in New Issue
Block a user