diff --git a/src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts b/src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts index 2c6193f884a040cf9c93a1a0b11f8906e9c17783..dd412190764ad4cfb2a122d6bd5067e1c11f553e 100644 --- a/src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts +++ b/src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts @@ -18,7 +18,7 @@ import { IContextKey } from 'vs/platform/contextkey/common/contextkey'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { IMessageService, Severity } from 'vs/platform/message/common/message'; import { IStringDictionary } from 'vs/base/common/collections'; -import { ITerminalService, ITerminalInstance, IShell } from 'vs/workbench/parts/terminal/common/terminal'; +import { ITerminalInstance, IShell } from 'vs/workbench/parts/terminal/common/terminal'; import { IWorkspace } from 'vs/platform/workspace/common/workspace'; import { Keybinding } from 'vs/base/common/keybinding'; import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent'; @@ -65,8 +65,7 @@ export class TerminalInstance implements ITerminalInstance { name: string, shell: IShell, @IKeybindingService private _keybindingService: IKeybindingService, - @IMessageService private _messageService: IMessageService, - @ITerminalService private _terminalService: ITerminalService + @IMessageService private _messageService: IMessageService ) { this._toDispose = []; this._skipTerminalKeybindings = []; @@ -169,9 +168,9 @@ export class TerminalInstance implements ITerminalInstance { const height = parseInt(computedStyle.getPropertyValue('height').replace('px', ''), 10); this.layout(new Dimension(width, height)); this.setVisible(this._isVisible); - this.setCursorBlink(this._terminalService.configHelper.getCursorBlink()); - this.setCommandsToSkipShell(this._terminalService.configHelper.getCommandsToSkipShell()); - this.setScrollback(this._terminalService.configHelper.getScrollback()); + this.setCursorBlink(this._configHelper.getCursorBlink()); + this.setCommandsToSkipShell(this._configHelper.getCommandsToSkipShell()); + this.setScrollback(this._configHelper.getScrollback()); } public copySelection(): void {