Skip to content

Commit

Permalink
fix: generate.refine with border=false (#2223)
Browse files Browse the repository at this point in the history
(cherry picked from commit 30826fc)
  • Loading branch information
Conni2461 committed Jan 6, 2023
1 parent bce3684 commit c8d6935
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/telescope/actions/generate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ action_generate.refine = function(prompt_bufnr, opts)
end

-- title
if opts.prompt_title then
if opts.prompt_title and current_picker.prompt_border then
current_picker.prompt_border:change_title(opts.prompt_title)
end

if opts.results_title then
if opts.results_title and current_picker.results_border then
current_picker.results_border:change_title(opts.results_title)
end

Expand Down

0 comments on commit c8d6935

Please sign in to comment.