1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00

Implement setting

This commit is contained in:
LeSeulArtichaut 2019-12-28 22:48:06 +01:00
parent 500acee064
commit 2f78575cd7

View File

@ -353,7 +353,9 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
this.frontend.mouseEvent$.subscribe(async event => { this.frontend.mouseEvent$.subscribe(async event => {
if (event.type === 'mousedown') { if (event.type === 'mousedown') {
if (event.which === 2) { if (event.which === 2) {
this.paste() if (this.config.store.terminal.pasteOnMiddleClick) {
this.paste()
}
event.preventDefault() event.preventDefault()
event.stopPropagation() event.stopPropagation()
return return