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

View file

@ -541,7 +541,7 @@ statuses_view_menu()
ids_massive=$(echo "$json" | jj -l \#.id | delq) ids_massive=$(echo "$json" | jj -l \#.id | delq)
jsonmassive=$json jsonmassive=$json
statuses_render 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 case "$menustatuses" in
"Back") sub_menu_lvl=1 ;; "Back") sub_menu_lvl=1 ;;
"Prev") "Prev")
@ -557,6 +557,10 @@ statuses_view_menu()
offset=$(echo "$json" | jj 0.id) offset=$(echo "$json" | jj 0.id)
json=$(statuses_api_account "$1" '' "$offset") json=$(statuses_api_account "$1" '' "$offset")
;; ;;
"Reverse")
offset=1
json=$(statuses_api_account "$1" '' "$offset")
;;
"Reply") reply_mode ;; "Reply") reply_mode ;;
"Share") share_mode ;; "Share") share_mode ;;
"Favorite") favourite_mode ;; "Favorite") favourite_mode ;;