mirror of https://gitlab.com/bashrc2/epicyon
Bookmarks timeline
parent
99bfa49773
commit
548dbc5147
|
@ -446,7 +446,7 @@ post to [handle] Create a new direct message
|
||||||
announce/boost Boost the last post
|
announce/boost Boost the last post
|
||||||
follow [handle] Make a follow request
|
follow [handle] Make a follow request
|
||||||
unfollow [handle] Stop following the give handle
|
unfollow [handle] Stop following the give handle
|
||||||
show dm|sent|inbox|replies Show a timeline
|
show dm|sent|inbox|replies|bookmarks Show a timeline
|
||||||
next Next page in the timeline
|
next Next page in the timeline
|
||||||
prev Previous page in the timeline
|
prev Previous page in the timeline
|
||||||
read [post number] Read a post from a timeline
|
read [post number] Read a post from a timeline
|
||||||
|
|
|
@ -50,7 +50,7 @@ def _desktopHelp() -> None:
|
||||||
print('')
|
print('')
|
||||||
print(indent + 'quit ' +
|
print(indent + 'quit ' +
|
||||||
'Exit from the desktop client')
|
'Exit from the desktop client')
|
||||||
print(indent + 'show dm|sent|inbox|replies ' +
|
print(indent + 'show dm|sent|inbox|replies|bookmarks ' +
|
||||||
'Show a timeline')
|
'Show a timeline')
|
||||||
print(indent + 'mute ' +
|
print(indent + 'mute ' +
|
||||||
'Turn off the screen reader')
|
'Turn off the screen reader')
|
||||||
|
@ -1007,6 +1007,22 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
newRepliesExist, newDMsExist)
|
newRepliesExist, newDMsExist)
|
||||||
# Turn off the replies indicator
|
# Turn off the replies indicator
|
||||||
newRepliesExist = False
|
newRepliesExist = False
|
||||||
|
elif commandStr.startswith('show b'):
|
||||||
|
pageNumber = 1
|
||||||
|
prevTimelineFirstId = ''
|
||||||
|
currTimeline = 'tlbookmarks'
|
||||||
|
boxJson = c2sBoxJson(baseDir, session,
|
||||||
|
nickname, password,
|
||||||
|
domain, port, httpPrefix,
|
||||||
|
currTimeline, pageNumber,
|
||||||
|
debug)
|
||||||
|
if boxJson:
|
||||||
|
_desktopShowBox(currTimeline, boxJson,
|
||||||
|
screenreader, systemLanguage, espeak,
|
||||||
|
pageNumber,
|
||||||
|
newRepliesExist, newDMsExist)
|
||||||
|
# Turn off the replies indicator
|
||||||
|
newRepliesExist = False
|
||||||
elif (commandStr.startswith('show sen') or
|
elif (commandStr.startswith('show sen') or
|
||||||
commandStr.startswith('show out')):
|
commandStr.startswith('show out')):
|
||||||
pageNumber = 1
|
pageNumber = 1
|
||||||
|
|
Loading…
Reference in New Issue