From: Julien Desfossez Date: Tue, 24 Apr 2012 16:31:43 +0000 (-0400) Subject: bind pref on 'r' instead of 'P' X-Git-Tag: v0.2~15 X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=commitdiff_plain;h=f9ff6939d608d012d34dc77dfebdff2e025e23c0;hp=3e59e7681922366ad6b1e9415f321478152e0c57 bind pref on 'r' instead of 'P' Signed-off-by: Julien Desfossez --- diff --git a/src/cursesdisplay.c b/src/cursesdisplay.c index 59e5e2f..edcf4e5 100644 --- a/src/cursesdisplay.c +++ b/src/cursesdisplay.c @@ -270,7 +270,7 @@ void update_footer() 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", "Pref ", 0); + print_key(footer, "r", "Pref ", 0); print_key(footer, "p", "Pause ", toggle_pause); wrefresh(footer); @@ -1341,7 +1341,7 @@ void *handle_keyboard(void *p) resume_display(); } break; - case 'P': + case 'r': toggle_pref_panel(); break; /* ESCAPE, but slow to process, don't know why */