diff --git a/terminus-terminal/src/api/baseTerminalTab.component.ts b/terminus-terminal/src/api/baseTerminalTab.component.ts index f7e83de8..5b388bcf 100644 --- a/terminus-terminal/src/api/baseTerminalTab.component.ts +++ b/terminus-terminal/src/api/baseTerminalTab.component.ts @@ -353,7 +353,9 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit this.frontend.mouseEvent$.subscribe(async event => { if (event.type === 'mousedown') { if (event.which === 2) { - this.paste() + if (this.config.store.terminal.pasteOnMiddleClick) { + this.paste() + } event.preventDefault() event.stopPropagation() return