1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-21 18:07:54 +03:00

cancel broadcast on when clicking any pane

This commit is contained in:
Eugene Pankov 2021-05-28 19:24:42 +02:00
parent d324b5e665
commit 86083e1491
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 4 additions and 1 deletions

View File

@ -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()

View File

@ -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)',
},
]