mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
parent
f078d13cca
commit
04b75ec476
|
@ -400,9 +400,14 @@ func (w *Writer) getAnsiFromColorString(colorString string, isBackground bool) C
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *Writer) write(s rune) {
|
func (w *Writer) write(s rune) {
|
||||||
|
if w.invisible {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if !w.hyperlink {
|
if !w.hyperlink {
|
||||||
w.length += runewidth.RuneWidth(s)
|
w.length += runewidth.RuneWidth(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
w.builder.WriteRune(s)
|
w.builder.WriteRune(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue