mirror of
https://github.com/zyedidia/micro
synced 2024-09-29 20:54:50 +00:00
Increase totalwidth as well for correct tab alignment
This commit is contained in:
parent
d8576d0fe6
commit
3d845eefe3
|
@ -627,6 +627,7 @@ func (w *BufWindow) displayBuffer() {
|
|||
default:
|
||||
if unicode.IsUpper(r) {
|
||||
width = 2
|
||||
totalwidth += 2
|
||||
break
|
||||
}
|
||||
width = runewidth.RuneWidth(r)
|
||||
|
|
Loading…
Reference in a new issue