···159159 elseif vim.api.nvim_win_get_height(win) ~= height then
160160 vim.api.nvim_win_set_height(win, height)
161161 end
162162+163163+ if not hide and self.picker.win.hidestatusline then
164164+ height = 0
165165+ end
166166+162167 if vim.o.cmdheight ~= height then
163168 -- Avoid moving the cursor with 'splitkeep' = "screen", and altering the user
164169 -- configured value with noautocmd.
···203208 autocomplete = false,
204209 },
205210 g = {
206206- laststatus = self.picker.win.hidestatusline and 0 or nil,
207211 showmode = false,
208212 showcmd = false,
209213 },