mirror of
https://github.com/eugeny/tabby
synced 2026-09-28 16:06:09 +00:00
fix(terminal): reset terminal modes on connectable session destroy (#11423)
This commit is contained in:
@@ -68,6 +68,7 @@ export abstract class ConnectableTerminalTabComponent<P extends ConnectableTermi
|
||||
super.onSessionDestroyed()
|
||||
|
||||
if (this.frontend) {
|
||||
this.frontend.resetTerminalModes()
|
||||
if (this.profile.behaviorOnSessionEnd === 'reconnect' && !this.isDisconnectedByHand) {
|
||||
this.reconnect()
|
||||
} else if (this.profile.behaviorOnSessionEnd === 'keep' || !this.shouldTabBeDestroyedOnSessionClose()) {
|
||||
|
||||
Reference in New Issue
Block a user