Increase totalwidth as well for correct tab alignment
This commit is contained in:
parent
d8576d0fe6
commit
3d845eefe3
1 changed files with 1 additions and 0 deletions
|
@ -627,6 +627,7 @@ func (w *BufWindow) displayBuffer() {
|
||||||
default:
|
default:
|
||||||
if unicode.IsUpper(r) {
|
if unicode.IsUpper(r) {
|
||||||
width = 2
|
width = 2
|
||||||
|
totalwidth += 2
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
width = runewidth.RuneWidth(r)
|
width = runewidth.RuneWidth(r)
|
||||||
|
|
Loading…
Reference in a new issue