mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 21:58:39 -09:00
Make the close menu items less ambiguous
@Tyriar brought up a good point in #123 that the close menu items can be ambiguous and misleading. This clarifies them so you know exactly what you're closing. Fixes #123.
This commit is contained in:
parent
630f0f4504
commit
8cc47a498c
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ module.exports = ({createWindow, updatePlugins}) => {
|
||||||
type: 'separator'
|
type: 'separator'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Close',
|
label: 'Close Session',
|
||||||
accelerator: 'CmdOrCtrl+W',
|
accelerator: 'CmdOrCtrl+W',
|
||||||
click(item, focusedWindow) {
|
click(item, focusedWindow) {
|
||||||
if (focusedWindow) {
|
if (focusedWindow) {
|
||||||
|
|
@ -114,7 +114,7 @@ module.exports = ({createWindow, updatePlugins}) => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: isMac ? 'Close Terminal Window' : 'Quit',
|
label: isMac ? 'Close Window' : 'Quit',
|
||||||
role: 'close',
|
role: 'close',
|
||||||
accelerator: 'CmdOrCtrl+Shift+W'
|
accelerator: 'CmdOrCtrl+Shift+W'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue