commit - 29c14c1dfd1d4d884615e219ff3fc6ff7fd49752
commit + 7dd734321c2dd7eeca8bf3350f8786dc9174bef9
blob - 101e1ecc406cb95c551899d5e43b4c720d3edbfb
blob + 871f1e32019c630bc7257536a167b08df1ac4b31
--- apmtop.c
+++ apmtop.c
static void
draw (struct display *dpy)
{
- clear ();
-
draw_graph (&dpy->g[G_CPUUSAGE], "CPU: %d%%", 0, 100);
draw_graph (&dpy->g[G_CPUTEMP], "CPU: %d C", 0, 100);
draw_graph (&dpy->g[G_CPUSPEED], "CPU: %d MHz", INT_MAX, INT_MIN);
} else {
g->log[entries] = value;
}
- fprintf (stderr, "entries=%d, w=%d, value=%d\n", entries, w, value);
}
static void
intrflush (stdscr, FALSE);
keypad (stdscr, TRUE);
halfdelay (dpy.delay);
+ curs_set (0);
// Bootstrap the process.
entries = 0;