Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e22d637 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

perf ui: Make SPACE work as PGDN in all browsers



Not just on the annotate one.

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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 92221162
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}
+0 −1
Original line number Diff line number Diff line
@@ -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();