mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-16 01:19:58 +00: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 => {
|
this.termContainerSubscriptions.subscribe(this.frontend.mouseEvent$, async event => {
|
||||||
if (event.type === 'mousedown') {
|
if (event.type === 'mousedown') {
|
||||||
|
if (event.which === 1) {
|
||||||
|
this.cancelFocusAllPanes()
|
||||||
|
}
|
||||||
if (event.which === 2) {
|
if (event.which === 2) {
|
||||||
if (this.config.store.terminal.pasteOnMiddleClick) {
|
if (this.config.store.terminal.pasteOnMiddleClick) {
|
||||||
this.paste()
|
this.paste()
|
||||||
|
@ -67,7 +67,7 @@ export class TerminalHotkeyProvider extends HotkeyProvider {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'pane-focus-all',
|
id: 'pane-focus-all',
|
||||||
name: 'Focus all panes at once',
|
name: 'Focus all panes at once (broadcast)',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user