print_key(footer, "F4", "IOTop ", current_view == iostream);
print_key(footer, "Enter", "Details ", current_view == process_details);
print_key(footer, "Space", "Highlight ", 0);
- print_key(footer, "q", "Quit | ", 0);
- print_key(footer, "P", "Perf Pref ", 0);
+ print_key(footer, "q", "Quit ", 0);
+ print_key(footer, "P", "Pref ", 0);
print_key(footer, "p", "Pause ", toggle_pause);
wrefresh(footer);
}
if (fileview[i].sort == 1)
wattron(pref_panel_window, A_BOLD);
- mvwprintw(pref_panel_window, i + 1, 1, "[x] %s",
+ mvwprintw(pref_panel_window, i + 1, 1, "[-] %s",
fileview[i].title);
wattroff(pref_panel_window, A_BOLD);
wattroff(pref_panel_window, COLOR_PAIR(5));
}
if (iostreamtopview[i].sort == 1)
wattron(pref_panel_window, A_BOLD);
- mvwprintw(pref_panel_window, i + 1, 1, "[x] %s",
+ mvwprintw(pref_panel_window, i + 1, 1, "[-] %s",
iostreamtopview[i].title);
wattroff(pref_panel_window, A_BOLD);
wattroff(pref_panel_window, COLOR_PAIR(5));
}
if (cputopview[i].sort == 1)
wattron(pref_panel_window, A_BOLD);
- mvwprintw(pref_panel_window, i + 1, 1, "[x] %s",
+ mvwprintw(pref_panel_window, i + 1, 1, "[-] %s",
cputopview[i].title);
wattroff(pref_panel_window, A_BOLD);
wattroff(pref_panel_window, COLOR_PAIR(5));
while((ch = getch())) {
switch(ch) {
/* Move the cursor and scroll */
+ case 'j':
case KEY_DOWN:
if (pref_panel_visible) {
pref_line_selected++;
break;
case KEY_NPAGE:
break;
+ case 'k':
case KEY_UP:
if (pref_panel_visible) {
if (pref_line_selected > 0)