perf ui: Restore SPACE as an alias to PGDN in annotate
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jul 2010 20:55:32 +0000 (17:55 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 27 Jul 2010 14:24:31 +0000 (11:24 -0300)
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>
tools/perf/util/newt.c

index ab6eb36..2f5f7a1 100644 (file)
@@ -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();