navi/shell
Lam Chau aa87ad49cd fix: always repaint prompt after fzf exits in fish widget
Previously, `repaint` only ran inside the `best_match` and `candidate`
branches, so cancelling out of navi (Ctrl+C / Esc) without selecting
a snippet would leave the terminal in a clobbered state. Multi-line
prompts (e.g. tide with ╭─/╰─ borders) would lose their border
characters because fzf overwrites the terminal output and no repaint
was triggered to restore it.

Move `repaint` to the end of the function so it always runs regardless
of whether a selection was made, the user cancelled, or no matches
were found. Remove the early `return` from the `best_match` branch
and gate the `candidate` fallback with `test -z "$best_match"` instead.
2026-03-06 02:24:50 -08:00
..
navi.plugin.bash
navi.plugin.elv
navi.plugin.fish fix: always repaint prompt after fzf exits in fish widget 2026-03-06 02:24:50 -08:00
navi.plugin.nu
navi.plugin.ps1
navi.plugin.zsh