diff --git a/input.py b/input.py index d3a7320..e15fffa 100644 --- a/input.py +++ b/input.py @@ -35,12 +35,12 @@ def get_input(prompt="Enter text:", text=""): text_buffer = list(text) # Use list for easier character manipulation cursor_pos = len(text_buffer) # Start at end of initial text - # Announce the prompt and initial text - speak(prompt) + # Announce the prompt and initial text as a single message if text: - speak(f"Default text: {text}") + message = f"{prompt} Default text: {text}" else: - speak("Empty text field") + message = f"{prompt} Empty text field" + speak(message) # Speak initial cursor position if cursor_pos == 0: