Navi currently uses fzf with the parameters fzf --preview-window up:2:nohidden while nohidden was added to fzf in version 0.23.1.
Lots of popular distros, like Ubuntu 20.04 or Fedora 30 still distribute fzf 0.20.0 which leads to tickets like #447, #577, or #805.
This PR adds a clear message stating whats wrong instead of forwarding the invalid preview window layout: up:2:nohidden error message to the end user.
Navi currently uses fzf with the parameters
fzf --preview-window up:2:nohidden
whilenohidden
was added tofzf
in version 0.23.1.Lots of popular distros, like Ubuntu 20.04 or Fedora 30 still distribute fzf 0.20.0 which leads to tickets like #447, #577, or #805.
This PR adds a clear message stating whats wrong instead of forwarding the
invalid preview window layout: up:2:nohidden
error message to the end user.