Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

feat: drop support for `q` in the Rust TUI since we already support ctrl+d (#799)

Michael Bolin6f87f4c69fbb
diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs
index 51bc6025af..5250b67f9d 100644
--- a/codex-rs/tui/src/chatwidget.rs
+++ b/codex-rs/tui/src/chatwidget.rs
@@ -143,12 +143,7 @@ impl ChatWidget<'_> {
InputResult::Submitted(text) => {
// Special client‑side commands start with a leading slash.
let trimmed = text.trim();
-
match trimmed {
- "q" => {
- // Gracefully request application shutdown.
- let _ = self.app_event_tx.send(AppEvent::ExitRequest);
- }
"/clear" => {
// Clear the current conversation history without exiting.
self.conversation_history.clear();