feat(resize): add ability to grow and shrink the tree when drawing (#1293)
Will adapt the view size based on the longest line. fixes #865
This commit is contained in:
@@ -95,6 +95,8 @@ function M.draw()
|
||||
diagnostics.update()
|
||||
end
|
||||
|
||||
view.grow_from_content()
|
||||
|
||||
log.profile_end(ps, "draw")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user