Implement full reverse statuses (use with caution!)

This commit is contained in:
localhost_frssoft 2022-07-19 11:39:29 +03:00
parent feb13c82eb
commit d721fdc833
1 changed files with 5 additions and 1 deletions

View File

@ -541,7 +541,7 @@ statuses_view_menu()
ids_massive=$(echo "$json" | jj -l \#.id | delq)
jsonmassive=$json
statuses_render
menustatuses=$(echo 'Prev\nNext\nReply\nShare\nFavorite\nShare and favorite\nThread\nBack' | fzy)
menustatuses=$(echo 'Prev\nNext\nReverse\nReply\nShare\nFavorite\nShare and favorite\nThread\nBack' | fzy)
case "$menustatuses" in
"Back") sub_menu_lvl=1 ;;
"Prev")
@ -557,6 +557,10 @@ statuses_view_menu()
offset=$(echo "$json" | jj 0.id)
json=$(statuses_api_account "$1" '' "$offset")
;;
"Reverse")
offset=1
json=$(statuses_api_account "$1" '' "$offset")
;;
"Reply") reply_mode ;;
"Share") share_mode ;;
"Favorite") favourite_mode ;;