mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 08:11:28 +00:00
Reorder per_status_menu
This commit is contained in:
parent
95d04e57d1
commit
b3ed6c4fdb
|
@ -453,7 +453,7 @@ statuses_render()
|
||||||
dateutc=$(echo "$status" | jj created_at)
|
dateutc=$(echo "$status" | jj created_at)
|
||||||
reply_to_id=$(echo "$status" | jj in_reply_to_id)
|
reply_to_id=$(echo "$status" | jj in_reply_to_id)
|
||||||
visibility_status=$(echo "$status" | jj visibility)
|
visibility_status=$(echo "$status" | jj visibility)
|
||||||
s_f_menu='\nShare and favorite\nShare'
|
s_f_menu='\nShare\nShare and favorite'
|
||||||
if [ "$visibility_status" = "private" ] || [ "$visibility_status" = "direct" ]; then
|
if [ "$visibility_status" = "private" ] || [ "$visibility_status" = "direct" ]; then
|
||||||
s_f_menu=
|
s_f_menu=
|
||||||
fi
|
fi
|
||||||
|
@ -487,7 +487,7 @@ statuses_render()
|
||||||
next=0
|
next=0
|
||||||
force_stop=0
|
force_stop=0
|
||||||
while [ "$next" -eq 0 ]; do
|
while [ "$next" -eq 0 ]; do
|
||||||
per_status_menu=$(echo "Next$menuattachments"$s_f_menu"\nFavorite\nBookmark\nReply\nBack" | fzy)
|
per_status_menu=$(echo "Next$menuattachments\nFavorite$s_f_menu\nBookmark\nReply\nBack" | fzy)
|
||||||
case "$per_status_menu" in
|
case "$per_status_menu" in
|
||||||
"Next")
|
"Next")
|
||||||
next=1
|
next=1
|
||||||
|
|
Loading…
Reference in a new issue