fix #121736
This commit is contained in:
parent
b9c647ab3f
commit
21ae0ca0d4
1 changed files with 0 additions and 2 deletions
|
@ -226,12 +226,10 @@ class TerminalTabsRenderer implements ITreeRenderer<ITerminalInstance, never, IT
|
|||
}
|
||||
|
||||
fillActionBar(instance: ITerminalInstance, template: ITerminalTabEntryTemplate): void {
|
||||
const configure = new Action(TERMINAL_COMMAND_ID.CONFIGURE, localize('terminal.configure', "Configure"), ThemeIcon.asClassName(Codicon.pencil), true, () => instance.configure());
|
||||
const split = new Action(TERMINAL_COMMAND_ID.SPLIT, localize('terminal.split', "Split"), ThemeIcon.asClassName(Codicon.splitHorizontal), true, async () => this._terminalService.splitInstance(instance));
|
||||
const kill = new Action(TERMINAL_COMMAND_ID.KILL, localize('terminal.kill', "Kill"), ThemeIcon.asClassName(Codicon.trashcan), true, async () => instance.dispose(true));
|
||||
// TODO: Cache these in a way that will use the correct instance
|
||||
template.actionBar.clear();
|
||||
template.actionBar.push(configure, { icon: true, label: false });
|
||||
template.actionBar.push(split, { icon: true, label: false });
|
||||
template.actionBar.push(kill, { icon: true, label: false });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue