mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
feat: drop support for q since we already support ctrl+d
This commit is contained in:
@@ -149,12 +149,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();
|
||||
|
||||
Reference in New Issue
Block a user