Skip to content

Commit 19d3262

Browse files
authored
Merge pull request #8 from VictoriaMetrics/ctrl-enter-execute
add execution support by Ctrl+Enter
2 parents 6b8a49e + ac3b094 commit 19d3262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/sql-to-logsql/web/ui/src/components/sql-editor/SQLEditor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export function SQLEditor({
120120
const keybindings = [
121121
monaco.KeyMod.CtrlCmd | monaco.KeyCode.Enter,
122122
monaco.KeyMod.Shift | monaco.KeyCode.Enter,
123+
monaco.KeyMod.WinCtrl | monaco.KeyCode.Enter,
123124
monaco.KeyMod.CtrlCmd | monaco.KeyMod.Shift | monaco.KeyCode.Enter,
124125
];
125126
keybindings.forEach((binding) => {

0 commit comments

Comments
 (0)