diff --git a/codex-cli/src/components/chat/terminal-chat-input.tsx b/codex-cli/src/components/chat/terminal-chat-input.tsx index 3db4d7f1..ad7ad39a 100644 --- a/codex-cli/src/components/chat/terminal-chat-input.tsx +++ b/codex-cli/src/components/chat/terminal-chat-input.tsx @@ -397,7 +397,15 @@ export default function TerminalChatInput({ <> send q or ctrl+c to exit | send "/clear" to reset | send "/help" for commands | press enter to send - {contextLeftPercent < 25 && ( + {contextLeftPercent > 25 && ( + <> + {" — "} + 40 ? "green" : "yellow"}> + {Math.round(contextLeftPercent)}% context left + + + )} + {contextLeftPercent <= 25 && ( <> {" — "}