feat: can cancel out of progress window

This commit is contained in:
Steven Arcangeli 2023-03-28 13:48:15 -07:00
parent 9871ca9737
commit 273c2cecbf
7 changed files with 128 additions and 58 deletions

View file

@ -48,7 +48,7 @@ M.set_loading = function(bufnr, is_loading)
return
end
local lines = { util.lpad("Loading", math.floor(width / 2) - 3), bar_iter() }
util.render_centered_text(bufnr, lines)
util.render_text(bufnr, lines)
end)
)
end