mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
fix(xonsh): do not print hyperlink ANSI
This commit is contained in:
parent
a5274b7ee0
commit
9239b26209
|
@ -71,8 +71,8 @@ func (w *Writer) replaceHyperlink(text string) string {
|
|||
|
||||
linkText := results["TEXT"]
|
||||
|
||||
// this isn't supported for elvish
|
||||
if w.shell == shell.ELVISH {
|
||||
// this isn't supported for elvish and xonsh
|
||||
if w.shell == shell.ELVISH || w.shell == shell.XONSH {
|
||||
return strings.Replace(text, results["ALL"], linkText, 1)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue