fix to power display

This commit is contained in:
alu
2026-08-04 14:20:23 -07:00
parent 04b4f53092
commit 16495b403b
5 changed files with 62 additions and 56 deletions
+4
View File
@@ -45,6 +45,10 @@ func GetProc() (Proc, error) {
proc.Info = map[string]string{}
scanner := bufio.NewScanner(procFile)
if scanner.Err() != nil {
return proc, scanner.Err()
}
for scanner.Scan() {
line := scanner.Text()
line = strings.ReplaceAll(line, "\t", "")