summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-07-21 22:55:32 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-07-27 16:24:31 +0200
commitb61b55ed995fd2765cd4ec0b22f0348dee272070 (patch)
tree319b4580a5825eb3844587dee482b4bdaa208c59 /tools
parentperf sort: Make column width code per hists instance (diff)
downloadlinux-b61b55ed995fd2765cd4ec0b22f0348dee272070.tar.xz
linux-b61b55ed995fd2765cd4ec0b22f0348dee272070.zip
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/newt.c1
1 files changed, 1 insertions, 0 deletions
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();