fix: use results_height and results_width from config (#171)

This commit is contained in:
Bastien Rivière
2020-10-20 04:54:35 +02:00
committed by GitHub
parent f95fe484f7
commit b98509b4ad

View File

@@ -102,8 +102,8 @@ function Picker:new(opts)
get_preview_width = get_default(opts.preview_width, config.values.get_preview_width), get_preview_width = get_default(opts.preview_width, config.values.get_preview_width),
results_width = get_default(opts.results_width, 0.8), results_width = get_default(opts.results_width, config.values.results_width),
results_height = get_default(opts.results_height, 1), results_height = get_default(opts.results_height, config.values.results_height),
winblend = get_default(opts.winblend, config.values.winblend), winblend = get_default(opts.winblend, config.values.winblend),
prompt_position = get_default(opts.prompt_position, config.values.prompt_position), prompt_position = get_default(opts.prompt_position, config.values.prompt_position),