mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
Use platform-specific modifier labels in TUI shortcut hints (#49804)
## What changed Render Control, Shift, and Alt as `⌃`, `⇧`, and `⌥` on macOS, and Control as `^` on Linux. Keep textual modifier labels on other platforms. Route hard-coded shortcut hints through the shared key-label formatter so footers, overlays, pickers, and transcript notices use consistent notation. ## Testing Update modifier-combination and chord label assertions, along with rendering snapshots and narrow-layout expectations for the shorter hints. GitOrigin-RevId: 0d20fa218e4a11dfe7a81c8de64f8d25e093af03
This commit is contained in:
committed by
copyberry
parent
33aea33b39
commit
d2f2c40095
+1
-1
@@ -7,7 +7,7 @@ Command: compact
|
||||
└ output line 1
|
||||
output line 2
|
||||
output line 3
|
||||
+9 lines (ctrl+t to view transcript)
|
||||
+9 lines (⌃t to view transcript)
|
||||
|
||||
Command: detailed
|
||||
$ cargo check
|
||||
|
||||
Reference in New Issue
Block a user