Browse Source

Fixed manual sensor selection screen refresh

pull/135/head
aristocratos 4 years ago
parent
commit
6ee0f89a7a
  1. 2
      bpytop.py

2
bpytop.py

@ -4143,6 +4143,8 @@ class Menu:
CONFIG.cpu_sensor = CONFIG.cpu_sensors[cpu_sensor_i]
if CONFIG.check_temp and (CpuCollector.sensor_method != "psutil" or CONFIG.cpu_sensor == "Auto"):
CpuCollector.get_sensors()
Term.refresh(force=True)
cls.resized = False
elif key in ["left", "right"] and selected == "view_mode":
if key == "left":
view_mode_i -= 1

Loading…
Cancel
Save