最後活躍 1 month ago

修訂 c298579fa3ce8f2f92aa054f6da99707030aec0a

gistfile1.txt 原始檔案
122: local is_blocked="${1:-false}" is_restricted="${2:-false}" status="${3:-}"
223: if [[ "$is_blocked" == "true" && "$status" == "online"* ]]; then
324: echo "\033[1;31m"
425: elif [[ "$is_blocked" == "true" ]]; then
539:function ui::peer::_row_color() {
640: local is_blocked="${1:-false}" is_restricted="${2:-false}" status="${3:-}"
745: if [[ "$is_blocked" == "true" ]]; then
853: if [[ "$is_blocked" == "true" ]]; then
954: echo "\033[1;31m" # bold red — blocked active
1067:function ui::peer::list_row_compact() {
1173: is_blocked="${8:-false}" is_restricted="${9:-false}"
1275: local row_color
1376: row_color=$(ui::peer::_row_color "$is_blocked" "$is_restricted" "$status")
1479: status_color=$(ui::peer::status_color "$is_blocked" "$is_restricted" "$status")
1597: if [[ -n "$row_color" ]]; then
16