fix issue with intel cpu temperature label order

This commit is contained in:
alu
2026-08-10 10:43:13 -07:00
parent 413b79116e
commit a474ff2511
3 changed files with 22 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func (r *RaplDriver) Render(term common.Terminal) error {
}
power := p.([]PowerSensor)
term.Subheader("Power")
term.Subheader("Power /sys/class/powercap/intel-rapl")
for _, sensor := range power {
// \033[K clears from cursor to end of line (prevents lingering chars)