mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 09:06:03 +00:00
properly broadcast ctrl-c - fixes #3961
This commit is contained in:
@@ -178,7 +178,15 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
|
|||||||
this.frontend.clearSelection()
|
this.frontend.clearSelection()
|
||||||
this.notifications.notice('Copied')
|
this.notifications.notice('Copied')
|
||||||
} else {
|
} else {
|
||||||
this.sendInput('\x03')
|
if (this.parent && this.parent instanceof SplitTabComponent && this.parent._allFocusMode) {
|
||||||
|
for (const tab of this.parent.getAllTabs()) {
|
||||||
|
if (tab instanceof BaseTerminalTabComponent) {
|
||||||
|
tab.sendInput('\x03')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.sendInput('\x03')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 'copy':
|
case 'copy':
|
||||||
|
Reference in New Issue
Block a user