Skip to content

Commit 3a5f8b0

Browse files
committed
[Console] Enable hyperlinks in Konsole/Yakuake
1 parent c8e37f6 commit 3a5f8b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Formatter/OutputFormatterStyle.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ public function apply($text)
166166
$unsetCodes = [];
167167

168168
if (null === $this->handlesHrefGracefully) {
169-
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR') && !getenv('KONSOLE_VERSION');
169+
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR')
170+
&& (!getenv('KONSOLE_VERSION') || (int) getenv('KONSOLE_VERSION') > 201100);
170171
}
171172

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

0 commit comments

Comments
 (0)