Skip to contentSkip to conversation

perf ui: Restore SPACE as an alias to PGDN in annotate

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Aug 2, 2010 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  b61b55ed995fd2765cd4ec0b22f0348dee272070
Gitweb:     http://git.kernel.org/tip/b61b55ed995fd2765cd4ec0b22f0348dee272070
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Wed, 21 Jul 2010 17:55:32 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 27 Jul 2010 11:24:31 -0300

perf ui: Restore SPACE as an alias to PGDN in annotate

Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
LKML-Reference: <new-submission>

---
 tools/perf/util/newt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
tools/perf/util/newt.c +1 -0
index ab6eb36..2f5f7a1 100644
@@ -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();