From 6ee0f89a7a007286b04691dd4871cbdb6781a911 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 27 Sep 2020 01:48:03 +0200 Subject: [PATCH] Fixed manual sensor selection screen refresh --- bpytop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bpytop.py b/bpytop.py index bef7b04..634c5de 100755 --- a/bpytop.py +++ b/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