mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -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) {
|
||||
if w.invisible {
|
||||
return
|
||||
}
|
||||
|
||||
if !w.hyperlink {
|
||||
w.length += runewidth.RuneWidth(s)
|
||||
}
|
||||
|
||||
w.builder.WriteRune(s)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue