Fix chat meta keyboard shortcuts for Windows

This commit is contained in:
FallDownTheSystem 2024-09-19 15:45:47 +03:00
parent ae774f4918
commit 3f8402af19

View file

@ -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