fix(terminal): reset terminal modes on connectable session destroy (#11423)
This commit is contained in:
1 parent
34531b1d32
commit
3f8fcf9f1f
1 file changed
+1
@@ -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