The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 14:30 UTC
fix(web): show the platform modifier in the send tooltip (#22436)
Utkarsh Patil committed
Oct 28, 2026 at 11:37 UTC
9b052a2d5bacaef53c45ae25984f2b7450c95624
1 file changed
+2
-2
apps/web/src/components/chat/ComposerPrimaryActions.tsx
+2
-2
@@ -4,7 +4,7 @@ import { CornerUpRight, ListPlus } from "lucide";
4
import { MorphIcon } from "~/components/MorphIcon";
5
import { useEnvironmentIdentificationMode } from "~/hooks/useSettings";
6
import { formatContextWindowTokens } from "~/lib/contextWindow";
7
-import { cn } from "~/lib/utils";
7
+import { cn, isMacPlatform } from "~/lib/utils";
8
import { useShortcutModifierState } from "../../shortcutModifierState";
9
import { StageBackdropButtonArt, useSidebarStageBackdropVariant } from "../SidebarStageBackdrop";
10
import { Button } from "../ui/button";
@@ -297,7 +297,7 @@ export const ComposerPrimaryActions = memo(function ComposerPrimaryActions({
297
(compactsBeforeSend
298
? `Summarize ${compactTokens} tokens of history, then send`
299
: isRunning && !isEditingQueuedMessage && canSteer
300
- ? `Click to ${followUpBehavior}, Ctrl/⌘-click${alternateShortcutLabel ? ` or ${alternateShortcutLabel}` : ""} to ${alternateAction}`
300
+ ? `Click to ${followUpBehavior}, ${isMacPlatform(navigator.platform) ? "⌘" : "Ctrl"}-click${alternateShortcutLabel ? ` or ${alternateShortcutLabel}` : ""} to ${alternateAction}`
301
: submitLabel);
302
303
const sendButton = (