mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-06 13:44:36 +08:00
cancel broadcast on when clicking any pane
This commit is contained in:
parent
d324b5e665
commit
86083e1491
@ -533,6 +533,9 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
|
||||
|
||||
this.termContainerSubscriptions.subscribe(this.frontend.mouseEvent$, async event => {
|
||||
if (event.type === 'mousedown') {
|
||||
if (event.which === 1) {
|
||||
this.cancelFocusAllPanes()
|
||||
}
|
||||
if (event.which === 2) {
|
||||
if (this.config.store.terminal.pasteOnMiddleClick) {
|
||||
this.paste()
|
||||
|
@ -67,7 +67,7 @@ export class TerminalHotkeyProvider extends HotkeyProvider {
|
||||
},
|
||||
{
|
||||
id: 'pane-focus-all',
|
||||
name: 'Focus all panes at once',
|
||||
name: 'Focus all panes at once (broadcast)',
|
||||
},
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user