refactor: use vim.ui.input for y/n selections
also add clear_prompt again. fixes #1441
This commit is contained in:
@@ -373,4 +373,10 @@ function M.get_win_buf_from_path(path)
|
||||
return nil, nil
|
||||
end
|
||||
|
||||
function M.clear_prompt()
|
||||
if vim.opt.cmdheight._value ~= 0 then
|
||||
vim.cmd "normal! :"
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user