Skip to content

Commit feaf0a9

Browse files
Franco Traversarofabpot
authored andcommitted
[Console] Add check for Konsole/Yakuake to disable hyperlinks
1 parent ed05f00 commit feaf0a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formatter/OutputFormatterStyle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function apply($text)
187187
$unsetCodes = [];
188188

189189
if (null === $this->handlesHrefGracefully) {
190-
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR');
190+
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR') && !getenv('KONSOLE_VERSION');
191191
}
192192

193193
if (null !== $this->foreground) {

0 commit comments

Comments
 (0)