This commit is contained in:
Jacob Richman
2026-02-05 10:54:46 -08:00
committed by GitHub
parent 5d04a01b06
commit 258643dec4
10 changed files with 275 additions and 143 deletions

View File

@@ -31,9 +31,7 @@ export function isITerm2(): boolean {
return cachedIsITerm2;
}
cachedIsITerm2 =
process.env['TERM_PROGRAM'] === 'iTerm.app' ||
!!process.env['ITERM_SESSION_ID'];
cachedIsITerm2 = process.env['TERM_PROGRAM'] === 'iTerm.app';
return cachedIsITerm2;
}