mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-24 06:04:04 +03:00
Implement setting
This commit is contained in:
parent
500acee064
commit
2f78575cd7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user