Skip to content

Commit 2aa8e35

Browse files
committed
bug fixes
1 parent f53e7e7 commit 2aa8e35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buffer.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ func (b *Buffer) contAppendSli(s []string, strict bool) error {
4343
}
4444

4545
b.cont = append(b.cont, s)
46-
b.resizeCol(len(s))
46+
if b.colLen != len(s) {
47+
b.resizeCol(len(s))
48+
}
4749
b.rowLen++
4850

4951
return nil

0 commit comments

Comments
 (0)