better text flowing when nudging to restart iTerm2

pull/445/head
romkatv 5 years ago
parent 3bca7e845f
commit 37f6b67dc9

@ -355,9 +355,9 @@ function install_font() {
print -P " %2FOK%f" print -P " %2FOK%f"
run_command "Updating %BiTerm2%b settings cache" /usr/bin/defaults read com.googlecode.iterm2 run_command "Updating %BiTerm2%b settings cache" /usr/bin/defaults read com.googlecode.iterm2
clear clear
print -P "%2FMeslo Nerd Font%f successfully installed." flowing +c "%2FMeslo Nerd Font%f" successfully installed.
print -P "" print -P ""
print -P "Please %Brestart iTerm2%b for the changes to take effect." flowing +c Please "%Brestart iTerm2%b" for the changes to take effect.
print -P "" print -P ""
while true; do while true; do
flowing +c -i 5 " 1. Click" "%BiTerm2 → Quit iTerm2%b" or press "%B⌘ Q%b." flowing +c -i 5 " 1. Click" "%BiTerm2 → Quit iTerm2%b" or press "%B⌘ Q%b."
@ -372,7 +372,7 @@ function install_font() {
fi fi
print -P "" print -P ""
print -P "" print -P ""
print -P "It's important to %Brestart iTerm2%b for the changes to take effect." flowing +c "It's" important to "%Brestart iTerm2%b" for the changes to take effect.
print -P "" print -P ""
done done
;; ;;

Loading…
Cancel
Save