mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Move onto ITerminalConfigurationService
This commit is contained in:
parent
4830b7f376
commit
4fe8f60274
|
@ -133,7 +133,7 @@ export class TerminalEditor extends EditorPane {
|
|||
// occurs on the selection itself.
|
||||
const terminal = this._terminalEditorService.activeInstance;
|
||||
terminal?.focus();
|
||||
} else if (this._terminalService.configHelper.config.middleClickBehavior === 'paste') {
|
||||
} else if (this._terminalConfigurationService.config.middleClickBehavior === 'paste') {
|
||||
const terminal = this._terminalEditorService.activeInstance;
|
||||
terminal?.paste();
|
||||
}
|
||||
|
|
|
@ -344,7 +344,7 @@ export class TerminalTabbedView extends Disposable {
|
|||
// Drop selection and focus terminal on Linux to enable middle button paste when click
|
||||
// occurs on the selection itself.
|
||||
terminal.focus();
|
||||
} else if (this._terminalService.configHelper.config.middleClickBehavior === 'paste') {
|
||||
} else if (this._terminalConfigurationService.config.middleClickBehavior === 'paste') {
|
||||
terminal.paste();
|
||||
}
|
||||
} else if (event.which === 3) {
|
||||
|
|
Loading…
Reference in a new issue