Skip to content

Commit

Permalink
ref(terminal) 7cde5c0: clear service message on connection succeeds only
Browse files Browse the repository at this point in the history
  • Loading branch information
Clem-Fern committed Sep 2, 2023
1 parent 7cde5c0 commit 04b53ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabby-terminal/src/api/connectableTerminalTab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export abstract class ConnectableTerminalTabComponent<P extends ConnectableTermi
}

private clearServiceMessagesOnConnect (): void {
if (this.profile.clearServiceMessagesOnConnect) {
if (this.profile.clearServiceMessagesOnConnect && this.session?.open) {
this.frontend?.clear()
}
}
Expand Down

0 comments on commit 04b53ab

Please sign in to comment.