diff --git a/.changeset/fix-mac-exit-message.md b/.changeset/fix-mac-exit-message.md new file mode 100644 index 00000000000..2006f8b9740 --- /dev/null +++ b/.changeset/fix-mac-exit-message.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fixed exit prompt showing "Cmd+C" instead of "Ctrl+C" on Mac. Ctrl+C is the universal terminal interrupt signal on all platforms. diff --git a/cli/src/ui/components/StatusIndicator.tsx b/cli/src/ui/components/StatusIndicator.tsx index acfc55aa31b..6eaa5ea19aa 100644 --- a/cli/src/ui/components/StatusIndicator.tsx +++ b/cli/src/ui/components/StatusIndicator.tsx @@ -36,7 +36,7 @@ export const StatusIndicator: React.FC = ({ disabled = fal const isStreaming = useAtomValue(isStreamingAtom) const hasResumeTask = useAtomValue(hasResumeTaskAtom) const exitPromptVisible = useAtomValue(exitPromptVisibleAtom) - const exitModifierKey = process.platform === "darwin" ? "Cmd" : "Ctrl" + const exitModifierKey = "Ctrl" // Ctrl+C is the universal terminal interrupt signal on all platforms // Don't render if no hotkeys to show or disabled if (!shouldShow || disabled) {