Skip to content

Commit

Permalink
Don't open Tips is disconnected terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
sedwards2009 committed Jan 24, 2024
1 parent 4678d8a commit a242934
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/Tips/src/TipsExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export function activate(_context: ExtensionContext): any {
}

function handleNewTerminal(newTerminal: Terminal): void {
if ( !newTerminal.isConnected) {
return;
}
const config = getConfig();
switch (config.frequency) {
case "every":
Expand Down

0 comments on commit a242934

Please sign in to comment.