aboutsummaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'display.c')
-rw-r--r--display.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/display.c b/display.c
index 41d2bb0..bb5fb69 100644
--- a/display.c
+++ b/display.c
@@ -221,9 +221,10 @@ void show_regulator_info(int verbose)
print(regulator_win, 12, 1, "Status");
print(regulator_win, 24, 1, "State");
print(regulator_win, 36, 1, "Type");
- print(regulator_win, 48, 1, "Microvolts");
- print(regulator_win, 60, 1, "Min u-volts");
- print(regulator_win, 72, 1, "Max u-volts");
+ print(regulator_win, 48, 1, "Users");
+ print(regulator_win, 60, 1, "Microvolts");
+ print(regulator_win, 72, 1, "Min u-volts");
+ print(regulator_win, 84, 1, "Max u-volts");
wattroff(regulator_win, A_BOLD);
for (i=0; i<numregulators; i++) {
@@ -248,6 +249,9 @@ void show_regulator_info(int verbose)
regulators_info[i].type);
col += 12;
print(regulator_win, col, count, "%d",
+ regulators_info[i].num_users);
+ col += 12;
+ print(regulator_win, col, count, "%d",
regulators_info[i].microvolts);
col += 12;
print(regulator_win, col, count, "%d",