File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,7 @@ module.exports = function registerMenu(win, state = {}) {
89
89
enabled : state . isConnected && state . view === 'editor' ,
90
90
click : ( ) => win . webContents . send ( 'shortcut-cmd' , shortcuts . global . RESET )
91
91
} ,
92
- { type : 'separator' } ,
93
- {
94
- label : 'Clear terminal' ,
95
- accelerator : shortcuts . menu . CLEAR_TERMINAL ,
96
- enabled : state . isConnected && state . view === 'editor' ,
97
- click : ( ) => win . webContents . send ( 'shortcut-cmd' , shortcuts . global . CLEAR_TERMINAL )
98
- }
92
+ { type : 'separator' }
99
93
]
100
94
} ,
101
95
{
@@ -111,6 +105,12 @@ module.exports = function registerMenu(win, state = {}) {
111
105
accelerator : shortcuts . menu . FILES_VIEW ,
112
106
click : ( ) => win . webContents . send ( 'shortcut-cmd' , shortcuts . global . FILES_VIEW )
113
107
} ,
108
+ {
109
+ label : 'Clear terminal' ,
110
+ accelerator : shortcuts . menu . CLEAR_TERMINAL ,
111
+ enabled : state . isConnected && state . view === 'editor' ,
112
+ click : ( ) => win . webContents . send ( 'shortcut-cmd' , shortcuts . global . CLEAR_TERMINAL )
113
+ } ,
114
114
{ type : 'separator' } ,
115
115
{ role : 'resetZoom' } ,
116
116
{ role : 'zoomIn' } ,
You can’t perform that action at this time.
0 commit comments