internal: save prompt fallback in win class

This commit is contained in:
bhagwan 2022-01-16 12:43:06 -08:00
parent 4f8751db52
commit 3e6a794c8c

View File

@ -333,7 +333,7 @@ function FzfWin:new(o)
self.preview_border = not opt_matches(o, 'border', 'noborder')
self.keymap = o.keymap
self.previewer = o.previewer
self.prompt = o.prompt
self.prompt = o.prompt or o.fzf_opts['--prompt']
self.fn_save_query = o.fn_save_query
self._orphaned_bufs = {}
self:_set_autoclose(o.autoclose)