We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3032d12 + 5eb87e6 commit 35c5bb2Copy full SHA for 35c5bb2
src/main/labview/labview.ts
@@ -85,7 +85,8 @@ export class LabView implements IDisposable {
85
this._view.webContents.on('before-input-event', async (event, input) => {
86
if (
87
input.code === 'KeyW' &&
88
- ((input.meta && process.platform === 'darwin') || input.control)
+ ((input.meta && process.platform === 'darwin') ||
89
+ (input.control && process.platform !== 'darwin'))
90
) {
91
let skipClose = false;
92
@@ -112,6 +113,7 @@ export class LabView implements IDisposable {
112
113
114
skipClose = choice === 1;
115
} else {
116
+ // CtrlWBehavior.DoNotClose
117
skipClose = true;
118
}
119
0 commit comments