From a7c6b9097dc9786b52cb039c229b5727dbf827a9 Mon Sep 17 00:00:00 2001 From: rootiest Date: Mon, 18 May 2026 22:07:50 -0400 Subject: [PATCH] fix(deps): consolidate install prompt into read -P to prevent display race --- functions/_fish_deps_install.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/_fish_deps_install.fish b/functions/_fish_deps_install.fish index b46679b..307ad9b 100644 --- a/functions/_fish_deps_install.fish +++ b/functions/_fish_deps_install.fish @@ -71,8 +71,7 @@ function _fish_deps_install end # Prompt: install this dep? - set_color cyan; echo -n "Install $bin? "; set_color normal - read -l -P "[Y/n] " _reply + read -l -P (set_color cyan)"Install $bin?"(set_color normal)" [Y/n] " _reply if test "$_reply" = n; or test "$_reply" = N set i (math $i + 1) continue