Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions gallery/speaky/speaky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -373,16 +373,12 @@ wait_for_speech() {
cleanup_and_exit() {
lov_kill_speech
lov_cleanup
local exit_phrase=${exit_phrases[$RANDOM % ${#exit_phrases[@]}]}
lov_say "$exit_phrase"
lov_animate_text_rainbow "$exit_phrase" "${RAINBOW_COLORS[*]}" "$MAX_DISPLAY_TIME"
wait_for_speech
Comment on lines -376 to -379
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better if this fix does not remove the exit phrase. That's a key feature in speaky

lov_show_cursor
echo
exit 0
}

trap cleanup_and_exit SIGINT
trap cleanup_and_exit EXIT INT TERM QUIT

# --- The Main Event ---
the_show_must_go_on() {
Expand Down
Loading