Skip to content

Commit e72e794

Browse files
author
Akos Kitta
committed
aligned the bindings for windwos.
quit and close. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent ee327ef commit e72e794

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arduino-ide-extension/src/browser/contributions/close-sketch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class CloseSketch extends SketchContribution {
5757
registerKeybindings(registry: KeybindingRegistry): void {
5858
registry.registerKeybinding({
5959
command: CloseSketch.Commands.CLOSE_SKETCH.id,
60-
keybinding: 'CtrlCmd+W' // TODO: Windows binding?
60+
keybinding: 'CtrlCmd+W'
6161
});
6262
}
6363

arduino-ide-extension/src/browser/contributions/quit-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class QuitApp extends Contribution {
2929
if (!isOSX) {
3030
registry.registerKeybinding({
3131
command: QuitApp.Commands.QUIT_APP.id,
32-
keybinding: isWindows ? 'Alt+F4' : 'Ctrl+Q'
32+
keybinding: 'CtrlCmd+Q'
3333
});
3434
}
3535
}

0 commit comments

Comments
 (0)