mirror of https://gitlab.com/bashrc2/epicyon
Read command
parent
15dc3f8fb3
commit
cceba9366e
|
@ -1023,8 +1023,11 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
_showLocalBox(notifyJson, 'inbox',
|
_showLocalBox(notifyJson, 'inbox',
|
||||||
screenreader, systemLanguage, espeak,
|
screenreader, systemLanguage, espeak,
|
||||||
currInboxIndex, 10)
|
currInboxIndex, 10)
|
||||||
elif keyPress.startswith('read '):
|
elif keyPress.startswith('read ') or keyPress == 'read':
|
||||||
postIndexStr = keyPress.split('read ')[1]
|
if keyPress == 'read':
|
||||||
|
postIndexStr = '1'
|
||||||
|
else:
|
||||||
|
postIndexStr = keyPress.split('read ')[1]
|
||||||
if postIndexStr.isdigit():
|
if postIndexStr.isdigit():
|
||||||
postIndex = int(postIndexStr)
|
postIndex = int(postIndexStr)
|
||||||
speakerJson = \
|
speakerJson = \
|
||||||
|
|
Loading…
Reference in New Issue