mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
fix(fish): repaint tooltip on sigint
This commit is contained in:
parent
82f3400814
commit
ee46cc2645
|
@ -62,6 +62,11 @@ function postexec_omp --on-event fish_postexec
|
|||
set --global --export omp_lastcommand $argv
|
||||
end
|
||||
|
||||
# fix tooltip not resetting on SIGINT (ctrl+c)
|
||||
function sigint_omp --on-signal INT
|
||||
commandline --function repaint
|
||||
end
|
||||
|
||||
# perform cleanup so a new initialization in current session works
|
||||
if test "$(string match -e '_render_transient' $(bind \r --user 2>/dev/null))" != ''
|
||||
bind -e \r
|
||||
|
|
Loading…
Reference in a new issue