mirror of https://github.com/aristocratos/bpytop
Fixed "view_mode" option entry format
parent
dee2951e3a
commit
a8faab32c0
|
@ -3814,7 +3814,7 @@ class Menu:
|
|||
counter = ""
|
||||
out += f'{Mv.to(y+1+cy, x+1)}{t_color}{Fx.b}{opt.replace("_", " ").capitalize() + counter:^24.24}{Fx.ub}{Mv.to(y+2+cy, x+1)}{v_color}'
|
||||
if opt == selected:
|
||||
if isinstance(value, bool) or opt in ["color_theme", "proc_sorting", "log_level"]:
|
||||
if isinstance(value, bool) or opt in ["color_theme", "proc_sorting", "log_level", "view_mode"]:
|
||||
out += f'{t_color} {Symbol.left}{v_color}{d_quote + str(value) + d_quote:^20.20}{t_color}{Symbol.right} '
|
||||
elif inputting:
|
||||
out += f'{str(input_val)[-17:] + Fx.bl + "█" + Fx.ubl + "" + Symbol.enter:^33.33}'
|
||||
|
|
Loading…
Reference in New Issue