Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 707f3be

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
Listen on keyboard layout changes from the OS.
Closes #989 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1 parent 8783952 commit 707f3be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎arduino-ide-extension/src/electron-main/arduino-electron-main-module.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { IDEUpdaterImpl } from './ide-updater/ide-updater-impl';
1818
import { ElectronMainApplication } from './theia/electron-main-application';
1919
import { ElectronMainWindowServiceImpl } from './theia/electron-main-window-service';
2020
import { TheiaElectronWindow } from './theia/theia-electron-window';
21+
import { ElectronNativeKeymap } from '@theia/core/lib/electron-main/electron-native-keymap';
2122

2223
export default new ContainerModule((bind, unbind, isBound, rebind) => {
2324
bind(ElectronMainApplication).toSelf().inSingletonScope();
@@ -58,4 +59,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
5859
.inSingletonScope();
5960

6061
bind(IsTempSketch).toSelf().inSingletonScope();
62+
63+
// https://github.com/eclipse-theia/theia/issues/11688
64+
bind(ElectronNativeKeymap).toSelf().inSingletonScope();
65+
bind(ElectronMainApplicationContribution).toService(ElectronNativeKeymap);
6166
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /