Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234471
b: refs/heads/master
c: c16bfe9
h: refs/heads/master
i:
  234469: ff959ef
  234467: 0b8de3e
  234463: 5ffca27
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Feb 25, 2011
1 parent 471ea66 commit f16f1fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 170ae6bc24e1d7f9bd921a484ec9ea2825497970
refs/heads/master: c16bfe9ac389b13a37ff617a09682ecc0685960f
7 changes: 7 additions & 0 deletions trunk/tools/perf/util/ui/browsers/top.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "../../annotate.h"
#include "../helpline.h"
#include "../libslang.h"
#include "../util.h"
#include "../../evlist.h"
#include "../../hist.h"
#include "../../sort.h"
Expand Down Expand Up @@ -174,6 +175,12 @@ static int perf_top_browser__run(struct perf_top_browser *browser)
if (browser->selection)
perf_top_browser__annotate(browser);
break;
case NEWT_KEY_LEFT:
continue;
case NEWT_KEY_ESCAPE:
if (!ui__dialog_yesno("Do you really want to exit?"))
continue;
/* Fall thru */
default:
goto out;
}
Expand Down

0 comments on commit f16f1fc

Please sign in to comment.