fix to power display

This commit is contained in:
alu
2026-08-04 14:17:41 -07:00
parent 04b4f53092
commit 695ed9dd33
4 changed files with 57 additions and 39 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", "")