From: Arnaldo Carvalho de Melo <acme@redhat.com> Date: Wed, 21 Jul 2010 20:55:32 +0000 (-0300) Subject: perf ui: Restore SPACE as an alias to PGDN in annotate X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b61b55ed995fd2765cd4ec0b22f0348dee272070;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git perf ui: Restore SPACE as an alias to PGDN in annotate Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index ab6eb368cbf5..2f5f7a1878cf 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c @@ -750,6 +750,7 @@ int hist_entry__tui_annotate(struct hist_entry *self) browser.width += 18; /* Percentage */ ui_browser__show(&browser, self->ms.sym->name); + newtFormAddHotKey(browser.form, ' '); ret = ui_browser__run(&browser, &es); newtFormDestroy(browser.form); newtPopWindow();