From 3f8402af19ae010b60adaf893f06548f3cef877c Mon Sep 17 00:00:00 2001 From: FallDownTheSystem <8807171+FallDownTheSystem@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:45:47 +0300 Subject: [PATCH] Fix chat meta keyboard shortcuts for Windows --- gui/src/components/mainInput/TipTapEditor.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/components/mainInput/TipTapEditor.tsx b/gui/src/components/mainInput/TipTapEditor.tsx index 7822eff1a..2fc543907 100644 --- a/gui/src/components/mainInput/TipTapEditor.tsx +++ b/gui/src/components/mainInput/TipTapEditor.tsx @@ -337,7 +337,7 @@ function TipTapEditor(props: TipTapEditorProps) { return true; }, - "Cmd-Enter": () => { + "Mod-Enter": () => { onEnterRef.current({ useCodebase: true, noContext: !useActiveFile, @@ -354,7 +354,7 @@ function TipTapEditor(props: TipTapEditorProps) { return true; }, - "Cmd-Backspace": () => { + "Mod-Backspace": () => { // If you press cmd+backspace wanting to cancel, // but are inside of a text box, it shouldn't // delete the text