修复bashtop界面menu首字母m颜色显示不一致问题

pull/226/head
root 2022-04-28 11:05:12 +08:00
parent 60f95a1a74
commit a676f6e235
1 changed files with 1 additions and 1 deletions

View File

@ -2961,7 +2961,7 @@ draw_bg() { #? Draw all box outlines
if [[ $check_temp == true ]]; then cpu_model_len=18; else cpu_model_len=9; fi
create_box -v boxes_out -col $((box[p_col]-1)) -line $((box[p_line]-1)) -width ${box[p_width]} -height ${box[p_height]} -lc ${theme[div_line]} -t "${cpu[model]:0:${cpu_model_len}}"
print -v boxes_out -m ${box[cpu_line]} $((box[cpu_col]+10)) -rs \
-fg ${box[cpu_color]} -t "┤" -b -fg ${theme[hi_fg]} -t "m" -fg ${theme[title]} -t "enu" -rs -fg ${box[cpu_color]} -t "├"
-fg ${box[cpu_color]} -t "┤" -b -fg ${theme[title]} -t "m" -fg ${theme[title]} -t "enu" -rs -fg ${box[cpu_color]} -t "├"
#* Misc mem
print -v boxes_out -m ${box[mem_line]} $((box[mem_col]+box[m_width]+2)) -rs -fg ${box[mem_color]} -t "┤" -fg ${theme[title]} -b -t "disks" -rs -fg ${box[mem_color]} -t "├"