Announce quitting

main
Bob Mottram 2021-03-10 10:46:50 +00:00
parent fd74f2d027
commit a6f0574726
1 changed files with 3 additions and 0 deletions

View File

@ -295,6 +295,9 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
if keyPress.startswith('/'):
keyPress = keyPress[1:]
if keyPress == 'q' or keyPress == 'quit' or keyPress == 'exit':
sayStr = 'Quit'
_sayCommand(sayStr, screenreader,
systemLanguage, espeak)
break
elif keyPress == 'sounds on' or keyPress == 'sound':
sayStr = 'Notification sounds on'