From 1015e687265b109780602b7a5e620abc064b5036 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Tue, 19 Nov 2024 13:07:33 -0800 Subject: [PATCH] Make Control key on Windows/Linux docs Ctrl rather than ^ --- docs/src/components/kbd.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/components/kbd.tsx b/docs/src/components/kbd.tsx index b4de641b0e..69fee9ebf6 100644 --- a/docs/src/components/kbd.tsx +++ b/docs/src/components/kbd.tsx @@ -28,7 +28,11 @@ function convertKey(platform: Platform, key: string): [any, string, boolean] { } } if (key == "Ctrl") { - return ["⌃", "Control", true]; + if (platform === "mac") { + return ["⌃", "Control", true]; + } else { + return ["Ctrl", "Control", false]; + } } if (key == "Shift") { return ["⇧", "Shift", true];