Skip to content

Commit

Permalink
Merge pull request #66535 from asaf050/master
Browse files Browse the repository at this point in the history
Allow kill terminal from the terminal context menu
  • Loading branch information
Tyriar authored Jan 24, 2019
2 parents 1bfb4a4 + 2934fce commit adf0b19
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ export class TerminalPanel extends Panel {
this._instantiationService.createInstance(TerminalPasteAction, TerminalPasteAction.ID, TerminalPasteAction.SHORT_LABEL),
this._instantiationService.createInstance(SelectAllTerminalAction, SelectAllTerminalAction.ID, SelectAllTerminalAction.LABEL),
new Separator(),
this._instantiationService.createInstance(ClearTerminalAction, ClearTerminalAction.ID, ClearTerminalAction.LABEL)
this._instantiationService.createInstance(ClearTerminalAction, ClearTerminalAction.ID, ClearTerminalAction.LABEL),
new Separator(),
this._instantiationService.createInstance(KillTerminalAction, KillTerminalAction.ID, KillTerminalAction.PANEL_LABEL)

];
this._contextMenuActions.forEach(a => {
this._register(a);
Expand Down

0 comments on commit adf0b19

Please sign in to comment.