From baba9ad45e733f3563bb4f4dfc373a7fed1ff9f8 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sun, 21 Jan 2024 20:51:43 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix=20keyboard=20shortcut?= =?UTF-8?q?=20labels=20for=20Windows=20and=20Linux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/vscode/package.json | 2 +- extensions/vscode/src/util/util.ts | 2 +- gui/src/components/Layout.tsx | 7 +++---- gui/src/util/index.ts | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index c0149fe1f..93cedf086 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -124,7 +124,7 @@ { "command": "continue.newSession", "category": "Continue", - "title": "New Session (⌘ M)", + "title": "New Session", "icon": "$(add)" }, { diff --git a/extensions/vscode/src/util/util.ts b/extensions/vscode/src/util/util.ts index b0011f1af..9d13b81f7 100644 --- a/extensions/vscode/src/util/util.ts +++ b/extensions/vscode/src/util/util.ts @@ -88,7 +88,7 @@ export function getMetaKeyLabel() { case "windows": return "^"; default: - return "⌘"; + return "^"; } } diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx index 9770a7981..c7b90f695 100644 --- a/gui/src/components/Layout.tsx +++ b/gui/src/components/Layout.tsx @@ -1,7 +1,6 @@ import { Cog6ToothIcon, QuestionMarkCircleIcon, - SparklesIcon, } from "@heroicons/react/24/outline"; import { postToIde } from "core/ide/messaging"; import { useEffect, useState } from "react"; @@ -201,7 +200,7 @@ const Layout = () => {