Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main

main
Bob Mottram 2021-03-12 19:16:29 +00:00
commit 295a377278
1 changed files with 5 additions and 2 deletions

View File

@ -664,15 +664,18 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
keyPress = _waitForKeypress(2, debug)
break
elif keyPress.startswith('show dm'):
currDMIndex = 0
_showLocalBox('dm', currDMIndex, 10)
currTimeline = 'dm'
elif keyPress.startswith('show sen'):
currSentIndex = 0
_showLocalBox('sent', currSentIndex, 10)
currTimeline = 'sent'
elif keyPress.startswith('show in'):
elif keyPress == 'show' or keyPress.startswith('show in'):
currInboxIndex = 0
_showLocalBox('inbox', currInboxIndex, 10)
currTimeline = 'inbox'
elif keyPress.startwith('next'):
elif keyPress.startswith('next'):
if currTimeline == 'dm':
currDMIndex += 10
_showLocalBox('dm', currDMIndex, 10)