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 fix: bash widget sanitization for & 2025-11-26 12:24:40 +01:00
navi.plugin.elv Update legacy syntax from Elvish widget 2022-01-13 21:34:55 +11:00
navi.plugin.fish fix: always repaint prompt after fzf exits in fish widget 2026-03-06 02:24:50 -08:00
navi.plugin.nu mvp. 2024-06-24 18:50:29 +08:00
navi.plugin.ps1 Fix widget powershell 2025-03-18 07:27:18 +09:00
navi.plugin.zsh Widget: fix replacements in case of multiple occurrences 2021-08-09 10:47:03 -03:00