mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
fix(terminal): calculate length correctly
This commit is contained in:
parent
57f0eecf39
commit
4b5bac3b4b
|
@ -344,7 +344,6 @@ func Write(background, foreground color.Ansi, text string) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
length += runewidth.RuneWidth(s)
|
|
||||||
write(s)
|
write(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue