aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/ui/browser.c1
-rw-r--r--tools/perf/util/ui/browsers/annotate.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/ui/browser.c b/tools/perf/util/ui/browser.c
index edbb7dd9eb2e..83d57487f6ef 100644
--- a/tools/perf/util/ui/browser.c
+++ b/tools/perf/util/ui/browser.c
@@ -169,6 +169,7 @@ int ui_browser__show(struct ui_browser *self, const char *title)
169 newtFormAddHotKey(self->form, NEWT_KEY_PGDN); 169 newtFormAddHotKey(self->form, NEWT_KEY_PGDN);
170 newtFormAddHotKey(self->form, NEWT_KEY_HOME); 170 newtFormAddHotKey(self->form, NEWT_KEY_HOME);
171 newtFormAddHotKey(self->form, NEWT_KEY_END); 171 newtFormAddHotKey(self->form, NEWT_KEY_END);
172 newtFormAddHotKey(self->form, ' ');
172 newtFormAddComponent(self->form, self->sb); 173 newtFormAddComponent(self->form, self->sb);
173 return 0; 174 return 0;
174} 175}
diff --git a/tools/perf/util/ui/browsers/annotate.c b/tools/perf/util/ui/browsers/annotate.c
index 763592b09d74..d2156aebd4f1 100644
--- a/tools/perf/util/ui/browsers/annotate.c
+++ b/tools/perf/util/ui/browsers/annotate.c
@@ -178,7 +178,6 @@ int hist_entry__tui_annotate(struct hist_entry *self)
178 178
179 browser.b.width += 18; /* Percentage */ 179 browser.b.width += 18; /* Percentage */
180 ui_browser__show(&browser.b, self->ms.sym->name); 180 ui_browser__show(&browser.b, self->ms.sym->name);
181 newtFormAddHotKey(browser.b.form, ' ');
182 ret = ui_browser__run(&browser.b, &es); 181 ret = ui_browser__run(&browser.b, &es);
183 newtFormDestroy(browser.b.form); 182 newtFormDestroy(browser.b.form);
184 newtPopWindow(); 183 newtPopWindow();