[Console] Add check for Konsole/Yakuake to disable hyperlinks
This commit is contained in:
parent
40076b98bf
commit
14b27b7d02
@ -187,7 +187,7 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
|
|||||||
$unsetCodes = [];
|
$unsetCodes = [];
|
||||||
|
|
||||||
if (null === $this->handlesHrefGracefully) {
|
if (null === $this->handlesHrefGracefully) {
|
||||||
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR');
|
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR') && !getenv('KONSOLE_VERSION');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null !== $this->foreground) {
|
if (null !== $this->foreground) {
|
||||||
|
@ -435,7 +435,7 @@ class CliDumper extends AbstractDumper
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (null === $this->handlesHrefGracefully) {
|
if (null === $this->handlesHrefGracefully) {
|
||||||
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR');
|
$this->handlesHrefGracefully = 'JetBrains-JediTerm' !== getenv('TERMINAL_EMULATOR') && !getenv('KONSOLE_VERSION');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($attr['ellipsis'], $attr['ellipsis-type'])) {
|
if (isset($attr['ellipsis'], $attr['ellipsis-type'])) {
|
||||||
|
Reference in New Issue
Block a user