mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
Remove the plus separator after Option symbols in TUI key hints (#49136)
## What changed Render macOS Option shortcuts as `⌥t` and `ctrl+⌥t` instead of `⌥+t` and `ctrl+⌥+t`. Keep `+` separators after text modifier labels such as `ctrl`, `shift`, and `alt`. ## Testing Update key-label and chord assertions and UI snapshots to expect the compact labels across shortcut help, navigation hints, and tooltips. GitOrigin-RevId: 7d52088ebce3dfa3f8bdad65eb159ca0fead8a31
This commit is contained in:
committed by
copyberry
parent
458f7046a5
commit
d7f7fa4106
+2
-3
@@ -1,6 +1,5 @@
|
||||
---
|
||||
source: tui/src/tooltips/keybinding_tests.rs
|
||||
assertion_line: 42
|
||||
expression: "lines.iter().map(|line| format!(\"{line:?}\")).collect::<Vec<_>>().join(\"\\n\")"
|
||||
---
|
||||
Line::from("Default")
|
||||
@@ -24,8 +23,8 @@ Line::from_iter([Span::from("Tip:").bold(), Span::from(" Press "), Span::from("c
|
||||
Line::from("entered prompts.")
|
||||
Line::default()
|
||||
Line::from_iter([Span::from("Tip:").bold(), Span::from(" For models with adjustable")])
|
||||
Line::from_iter([Span::from("reasoning, press "), Span::from("⌥+.").fg(Color::Rgb(166, 227, 161)), Span::from(" to increase")])
|
||||
Line::from_iter([Span::from("reasoning effort or "), Span::from("⌥+,").fg(Color::Rgb(166, 227, 161)), Span::from(" to decrease it.")])
|
||||
Line::from_iter([Span::from("reasoning, press "), Span::from("⌥.").fg(Color::Rgb(166, 227, 161)), Span::from(" to increase")])
|
||||
Line::from_iter([Span::from("reasoning effort or "), Span::from("⌥,").fg(Color::Rgb(166, 227, 161)), Span::from(" to decrease it.")])
|
||||
Line::default()
|
||||
Line::from("Remapped")
|
||||
Line::from_iter([Span::from("Tip:").bold(), Span::from(" Press "), Span::from("ctrl+x q").fg(Color::Rgb(166, 227, 161)), Span::from(" to queue a message")])
|
||||
|
||||
Reference in New Issue
Block a user