diff options
-rw-r--r-- | tools/perf/util/newt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index e74df1240ef6..5ded2f0d3e4d 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c | |||
@@ -323,6 +323,7 @@ static int ui_browser__run(struct ui_browser *self, const char *title, | |||
323 | newtFormAddHotKey(self->form, NEWT_KEY_PGDN); | 323 | newtFormAddHotKey(self->form, NEWT_KEY_PGDN); |
324 | newtFormAddHotKey(self->form, NEWT_KEY_HOME); | 324 | newtFormAddHotKey(self->form, NEWT_KEY_HOME); |
325 | newtFormAddHotKey(self->form, NEWT_KEY_END); | 325 | newtFormAddHotKey(self->form, NEWT_KEY_END); |
326 | newtFormAddHotKey(self->form, NEWT_KEY_LEFT); | ||
326 | 327 | ||
327 | if (ui_browser__refresh_entries(self) < 0) | 328 | if (ui_browser__refresh_entries(self) < 0) |
328 | return -1; | 329 | return -1; |
@@ -408,6 +409,7 @@ static int ui_browser__run(struct ui_browser *self, const char *title, | |||
408 | } | 409 | } |
409 | break; | 410 | break; |
410 | case NEWT_KEY_ESCAPE: | 411 | case NEWT_KEY_ESCAPE: |
412 | case NEWT_KEY_LEFT: | ||
411 | case CTRL('c'): | 413 | case CTRL('c'): |
412 | case 'Q': | 414 | case 'Q': |
413 | case 'q': | 415 | case 'q': |
@@ -616,7 +618,7 @@ static void hist_entry__annotate_browser(struct hist_entry *self) | |||
616 | if (hist_entry__annotate(self, &head) < 0) | 618 | if (hist_entry__annotate(self, &head) < 0) |
617 | return; | 619 | return; |
618 | 620 | ||
619 | ui_helpline__push("Press ESC to exit"); | 621 | ui_helpline__push("Press <- or ESC to exit"); |
620 | 622 | ||
621 | memset(&browser, 0, sizeof(browser)); | 623 | memset(&browser, 0, sizeof(browser)); |
622 | browser.entries = &head; | 624 | browser.entries = &head; |