Skip to content

Commit 382d8fe

Browse files
committed
Show Windows/Linux Quit menu option correctly
1 parent c367624 commit 382d8fe

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/menu.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,14 @@ if (process.platform === 'darwin') {
8989
menuTemplate.unshift({
9090
label: '&File',
9191
submenu: [
92-
{ role: 'close' }
92+
{
93+
// This should close the Window, but look like Quit. End behaviour is that every
94+
// Window _acts_ like a separate process, but is really a separate window.
95+
// (This lets us easily share a single server instance)
96+
role: 'close',
97+
label: 'Quit',
98+
accelerator: 'CommandOrControl+Q'
99+
}
93100
]
94101
});
95102
}

0 commit comments

Comments
 (0)