diff --git a/src/backends/speech_dispatcher.rs b/src/backends/speech_dispatcher.rs index 06d7518..08b7b73 100644 --- a/src/backends/speech_dispatcher.rs +++ b/src/backends/speech_dispatcher.rs @@ -43,7 +43,14 @@ impl Backend for SpeechDispatcher { if interrupt { self.stop()?; } + let single_char = text.to_string().capacity() == 1; + if single_char { + self.0.set_punctuation(Punctuation::All); + } self.0.say(Priority::Important, text); + if single_char { + self.0.set_punctuation(Punctuation::None); + } Ok(()) }