Skip to content

Commit

Permalink
adjust threshold output
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Nov 5, 2024
1 parent 2ed0818 commit 3b6df90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/cnode-helper-scripts/cntools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4251,7 +4251,7 @@ function main {
fi
printf "${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_yes_pct_len-${#drep_yes_pct}+1))s${NC}" "${drep_yes_pct}" "%"
if [[ -n ${drep_vt} ]]; then
printf " ${FG_LGRAY}of${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#drep_vt}+1))s${NC}" "${drep_vt}" "%"
printf ", ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#drep_vt}+1))s${NC}" "${drep_vt}" "%"
fi
# move to end and close line
tput rc && tput cuf ${total_len} && printf " |\n"
Expand Down Expand Up @@ -4280,7 +4280,7 @@ function main {
fi
printf "${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_yes_pct_len-${#spo_yes_pct}+1))s${NC}" "${spo_yes_pct}" "%"
if [[ -n ${spo_vt} ]]; then
printf " ${FG_LGRAY}of${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#spo_vt}+1))s${NC}" "${spo_vt}" "%"
printf ", ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#spo_vt}+1))s${NC}" "${spo_vt}" "%"
fi
# move to end and close line
tput rc && tput cuf ${total_len} && printf " |\n"
Expand Down Expand Up @@ -4309,7 +4309,7 @@ function main {
fi
printf "${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_yes_pct_len-${#cc_yes_pct}+1))s${NC}" "${cc_yes_pct}" "%"
if [[ -n ${cc_vt} ]]; then
printf " ${FG_LGRAY}of${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#cc_vt}+1))s${NC}" "${cc_vt}" "%"
printf ", ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#cc_vt}+1))s${NC}" "${cc_vt}" "%"
fi
# move to end and close line
tput rc && tput cuf ${total_len} && printf " |\n"
Expand Down

0 comments on commit 3b6df90

Please sign in to comment.