From ee2aa295f9d6d324610afc2670c0a91bd167f840 Mon Sep 17 00:00:00 2001 From: Aaron Johnon Date: Wed, 28 Aug 2024 17:22:58 -0500 Subject: [PATCH] Adjusted output texts --- numberstation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numberstation.go b/numberstation.go index 6f596e4..73515f5 100644 --- a/numberstation.go +++ b/numberstation.go @@ -48,7 +48,7 @@ func main() { defer rl.Close() // Inform the user about how to enter input - fmt.Println("Enter lines of text (press Enter on a blank line to finish):") + fmt.Println("Enter text to be read (A-Z and 0-9 only). Press Enter on a blank line to process:") var inputBuilder strings.Builder for { @@ -82,7 +82,7 @@ func main() { if soundData, ok := soundMap[c]; ok { playSound(soundData) } else { - fmt.Printf("No sound file found for character: %c\n", c) + fmt.Printf("Invalid character (skipping): %c\n", c) } time.Sleep(pauseBetweenCharacters) }