mirror of https://gitlab.com/bashrc2/epicyon
Replies timeline in desktop client
parent
2c33d55b45
commit
e1eab5ab24
|
@ -581,7 +581,11 @@ def _desktopShowBox(boxName: str, boxJson: {},
|
||||||
_desktopShowBanner()
|
_desktopShowBanner()
|
||||||
|
|
||||||
notificationIcons = ''
|
notificationIcons = ''
|
||||||
titleStr = '\33[7m' + boxName.upper() + '\33[0m'
|
if boxName.startswith('tl'):
|
||||||
|
titleStr = boxName[2:]
|
||||||
|
else:
|
||||||
|
titleStr = boxName
|
||||||
|
titleStr = '\33[7m' + titleStr.upper() + '\33[0m'
|
||||||
# titleStr += ' page ' + str(pageNumber)
|
# titleStr += ' page ' + str(pageNumber)
|
||||||
if notificationIcons:
|
if notificationIcons:
|
||||||
while len(titleStr) < 95 - len(notificationIcons):
|
while len(titleStr) < 95 - len(notificationIcons):
|
||||||
|
@ -984,7 +988,7 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
elif commandStr.startswith('show rep'):
|
elif commandStr.startswith('show rep'):
|
||||||
pageNumber = 1
|
pageNumber = 1
|
||||||
prevTimelineFirstId = ''
|
prevTimelineFirstId = ''
|
||||||
currTimeline = 'replies'
|
currTimeline = 'tlreplies'
|
||||||
boxJson = c2sBoxJson(baseDir, session,
|
boxJson = c2sBoxJson(baseDir, session,
|
||||||
nickname, password,
|
nickname, password,
|
||||||
domain, port, httpPrefix,
|
domain, port, httpPrefix,
|
||||||
|
|
Loading…
Reference in New Issue