fix(ui): don't pad empty lines (#768)
This commit is contained in:
parent
bb5cc9ef3b
commit
b00d6f7102
|
|
@ -72,6 +72,9 @@ function Text:render(buf)
|
|||
str = str .. segment.str
|
||||
end
|
||||
|
||||
if str:match("^%s*$") then
|
||||
str = ""
|
||||
end
|
||||
table.insert(lines, str)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue