diff options
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/newt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index 6974431d212f..59a63e4405fc 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c | |||
@@ -118,6 +118,7 @@ int browser__show_help(const char *format, va_list ap) | |||
118 | 118 | ||
119 | static void newt_form__set_exit_keys(newtComponent self) | 119 | static void newt_form__set_exit_keys(newtComponent self) |
120 | { | 120 | { |
121 | newtFormAddHotKey(self, NEWT_KEY_LEFT); | ||
121 | newtFormAddHotKey(self, NEWT_KEY_ESCAPE); | 122 | newtFormAddHotKey(self, NEWT_KEY_ESCAPE); |
122 | newtFormAddHotKey(self, 'Q'); | 123 | newtFormAddHotKey(self, 'Q'); |
123 | newtFormAddHotKey(self, 'q'); | 124 | newtFormAddHotKey(self, 'q'); |
@@ -323,7 +324,6 @@ static int ui_browser__run(struct ui_browser *self, const char *title, | |||
323 | newtFormAddHotKey(self->form, NEWT_KEY_PGDN); | 324 | newtFormAddHotKey(self->form, NEWT_KEY_PGDN); |
324 | newtFormAddHotKey(self->form, NEWT_KEY_HOME); | 325 | newtFormAddHotKey(self->form, NEWT_KEY_HOME); |
325 | newtFormAddHotKey(self->form, NEWT_KEY_END); | 326 | newtFormAddHotKey(self->form, NEWT_KEY_END); |
326 | newtFormAddHotKey(self->form, NEWT_KEY_LEFT); | ||
327 | 327 | ||
328 | if (ui_browser__refresh_entries(self) < 0) | 328 | if (ui_browser__refresh_entries(self) < 0) |
329 | return -1; | 329 | return -1; |
@@ -757,7 +757,6 @@ static int hist_browser__populate(struct hist_browser *self, struct hists *hists | |||
757 | newtFormAddHotKey(self->form, 'T'); | 757 | newtFormAddHotKey(self->form, 'T'); |
758 | newtFormAddHotKey(self->form, 't'); | 758 | newtFormAddHotKey(self->form, 't'); |
759 | newtFormAddHotKey(self->form, NEWT_KEY_RIGHT); | 759 | newtFormAddHotKey(self->form, NEWT_KEY_RIGHT); |
760 | newtFormAddHotKey(self->form, NEWT_KEY_LEFT); | ||
761 | newtFormAddComponents(self->form, self->tree, NULL); | 760 | newtFormAddComponents(self->form, self->tree, NULL); |
762 | self->selection = newt__symbol_tree_get_current(self->tree); | 761 | self->selection = newt__symbol_tree_get_current(self->tree); |
763 | 762 | ||