Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

feat: add support for `/diff` command autocomplete in TerminalChatInput (#431)

Thomasfc1e45636edb
diff --git a/codex-cli/src/components/chat/terminal-chat-input.tsx b/codex-cli/src/components/chat/terminal-chat-input.tsx
index e1bcbf9ea4..2146f60ce1 100644
--- a/codex-cli/src/components/chat/terminal-chat-input.tsx
+++ b/codex-cli/src/components/chat/terminal-chat-input.tsx
@@ -168,6 +168,9 @@ export default function TerminalChatInput({
case "/approval":
openApprovalOverlay();
break;
+ case "/diff":
+ openDiffOverlay();
+ break;
case "/bug":
onSubmit(cmd);
break;