refactor: use vim.ui.input for y/n selections
also add clear_prompt again. fixes #1441
This commit is contained in:
@@ -12,6 +12,7 @@ function M.bulk_move()
|
||||
end
|
||||
|
||||
vim.ui.input({ prompt = "Move to: ", default = Core.get_cwd(), completion = "dir" }, function(location)
|
||||
utils.clear_prompt()
|
||||
if not location or location == "" then
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user