diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/newt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index 932f12468c3..7979003adea 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c | |||
@@ -498,12 +498,8 @@ static int ui_browser__run(struct ui_browser *self, struct newtExitStruct *es) | |||
498 | self->first_visible_entry_idx = self->index - offset; | 498 | self->first_visible_entry_idx = self->index - offset; |
499 | self->seek(self, -offset, SEEK_END); | 499 | self->seek(self, -offset, SEEK_END); |
500 | break; | 500 | break; |
501 | case NEWT_KEY_RIGHT: | ||
502 | case NEWT_KEY_LEFT: | ||
503 | case NEWT_KEY_TAB: | ||
504 | return es->u.key; | ||
505 | default: | 501 | default: |
506 | continue; | 502 | return es->u.key; |
507 | } | 503 | } |
508 | if (ui_browser__refresh_entries(self) < 0) | 504 | if (ui_browser__refresh_entries(self) < 0) |
509 | return -1; | 505 | return -1; |