mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-24 13:41:27 +00:00
fix indexator
This commit is contained in:
parent
09922423bf
commit
c51983961a
|
@ -370,7 +370,7 @@ statuses_view_menu()
|
||||||
case "$menustatuses" in
|
case "$menustatuses" in
|
||||||
"Back") sub_menu_lvl=1 ;;
|
"Back") sub_menu_lvl=1 ;;
|
||||||
"Prev")
|
"Prev")
|
||||||
indexator=$(expr $max_statuses - 1)
|
indexator=$(expr $(echo $json | jj \#) - 1)
|
||||||
echo '#EXTM3U' > attachments.m3u8
|
echo '#EXTM3U' > attachments.m3u8
|
||||||
clear
|
clear
|
||||||
offset=$(echo $json | jj $indexator.id)
|
offset=$(echo $json | jj $indexator.id)
|
||||||
|
@ -452,7 +452,7 @@ timeline_menu()
|
||||||
menu=$(echo 'Prev\nNext\nReply\nShare\nFavorite\nShare and favorite\nThread\nMain menu' | fzy)
|
menu=$(echo 'Prev\nNext\nReply\nShare\nFavorite\nShare and favorite\nThread\nMain menu' | fzy)
|
||||||
case $menu in
|
case $menu in
|
||||||
"Prev")
|
"Prev")
|
||||||
indexator=$(expr $max_statuses - 1)
|
indexator=$(expr $(echo $json | jj \#) - 1)
|
||||||
echo '#EXTM3U' > attachments.m3u8
|
echo '#EXTM3U' > attachments.m3u8
|
||||||
clear
|
clear
|
||||||
offset=$(echo $json | jj $indexator.id)
|
offset=$(echo $json | jj $indexator.id)
|
||||||
|
|
Loading…
Reference in a new issue