mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 08:11:28 +00:00
Fix: reload timeline
This commit is contained in:
parent
c11c139eec
commit
fd21b04bc1
|
@ -90,16 +90,17 @@ timeline_menu()
|
|||
indexator=$(expr $indexator - 1)
|
||||
echo '_____'
|
||||
done
|
||||
indexator=$(expr $max_statuses - 1)
|
||||
menu=$(echo 'Prev\nNext\nShare\nMain menu' | fzy)
|
||||
case $menu in
|
||||
"Prev")
|
||||
indexator=$(expr $max_statuses - 1)
|
||||
echo '#EXTM3U' > attachments.m3u8
|
||||
clear
|
||||
offset=$(jj -i preload 39.id)
|
||||
json=$(timeline_api $offset)
|
||||
;;
|
||||
"Next")
|
||||
indexator=$(expr $max_statuses - 1)
|
||||
echo '#EXTM3U' > attachments.m3u8
|
||||
clear
|
||||
offset=$(jj -i preload 0.id)
|
||||
|
|
Loading…
Reference in a new issue