Skip to content

Commit ca775b5

Browse files
Merge pull request #9863 from gitbutlerapp/switch-shift-key-behiavour
Switch Codegen shift-key behaviour
2 parents 714da9c + b13dd0d commit ca775b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/desktop/src/components/codegen/CodegenInput.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
2020
async function handleKeypress(e: KeyboardEvent) {
21-
if (e.key === 'Enter' && e.shiftKey) {
21+
if (e.key === 'Enter' && !e.shiftKey) {
2222
e.preventDefault();
2323
await handleSubmit();
2424
}

0 commit comments

Comments
 (0)