mirror of https://github.com/gizak/termui.git
Fix paragraph
This commit is contained in:
parent
067b2c5514
commit
7ea3439d3a
2
utils.go
2
utils.go
|
@ -203,7 +203,7 @@ func SplitCells(cells []Cell, r rune) [][]Cell {
|
||||||
temp = append(temp, cell)
|
temp = append(temp, cell)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(splitCells) > 0 {
|
if len(temp) > 0 {
|
||||||
splitCells = append(splitCells, temp)
|
splitCells = append(splitCells, temp)
|
||||||
}
|
}
|
||||||
return splitCells
|
return splitCells
|
||||||
|
|
Loading…
Reference in New Issue