Lightweight coding agent that runs in your terminal
Rust
fix: ignore key release events during onboarding (#10131)
Josh McKinneye70592f85ad2
diff --git a/codex-rs/tui/src/onboarding/onboarding_screen.rs b/codex-rs/tui/src/onboarding/onboarding_screen.rsindex 78a7f0ce85..09be507fff 100644--- a/codex-rs/tui/src/onboarding/onboarding_screen.rs+++ b/codex-rs/tui/src/onboarding/onboarding_screen.rs@@ -211,6 +211,9 @@ impl OnboardingScreen {impl KeyboardHandler for OnboardingScreen {fn handle_key_event(&mut self, key_event: KeyEvent) {+ if !matches!(key_event.kind, KeyEventKind::Press | KeyEventKind::Repeat) {+ return;+ }let is_api_key_entry_active = self.is_api_key_entry_active();let should_quit = match key_event {KeyEvent {