No need to clear and wait for key to remove instead of just doing it after 2 seconds

This commit is contained in:
David Heinemeier Hansson 2025-08-08 15:05:38 +02:00
parent 485805fab3
commit 3d489382e4

View File

@ -1,5 +1,4 @@
#!/bin/bash
echo
gum spin --spinner "globe" --title "Done!" -- sleep 2
clear
gum spin --spinner "globe" --title "Done! Press any key to close..." -- bash -c 'read -n 1 -s'