Skip to content

Commit

Permalink
Fix compatibility with xterm (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillForan committed Jan 2, 2024
1 parent baaea6c commit a9323c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -103,7 +103,7 @@ export default function eslintFormatterPretty(results, data) {

let output = '\n';

if (process.stdout.isTTY && !process.env.CI) {
if (process.stdout.isTTY && !process.env.CI && process.env.TERM_PROGRAM === 'iTerm.app') {
// Make relative paths Command-clickable in iTerm
output += ansiEscapes.iTerm.setCwd();
}
Expand Down

0 comments on commit a9323c9

Please sign in to comment.