mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
perf ui: Make SPACE work as PGDN in all browsers
Not just on the annotate one. Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
9222116287
commit
9e22d6377c
2 changed files with 1 additions and 1 deletions
|
|
@ -169,6 +169,7 @@ int ui_browser__show(struct ui_browser *self, const char *title)
|
|||
newtFormAddHotKey(self->form, NEWT_KEY_PGDN);
|
||||
newtFormAddHotKey(self->form, NEWT_KEY_HOME);
|
||||
newtFormAddHotKey(self->form, NEWT_KEY_END);
|
||||
newtFormAddHotKey(self->form, ' ');
|
||||
newtFormAddComponent(self->form, self->sb);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -178,7 +178,6 @@ int hist_entry__tui_annotate(struct hist_entry *self)
|
|||
|
||||
browser.b.width += 18; /* Percentage */
|
||||
ui_browser__show(&browser.b, self->ms.sym->name);
|
||||
newtFormAddHotKey(browser.b.form, ' ');
|
||||
ret = ui_browser__run(&browser.b, &es);
|
||||
newtFormDestroy(browser.b.form);
|
||||
newtPopWindow();
|
||||
|
|
|
|||
Loading…
Reference in a new issue