linux/tools/perf/util/ui
Arnaldo Carvalho de Melo c16bfe9ac3 perf top browser: Fix up exit keys
The left key was exiting 'perf top --tui' when it really shouldn't, it
was too easy to leave the live annotation window and then press one too
many <- and get out of the tool altogether.

Do just like the report TUI does, ignore the left key for exit and also
ask the user when pressing ESC if that is really what is wanted.

Reported-by: Mike Galbraith <efault@gmx.de>
Suggested-by: Ingo Molnar <mingo@elte.hu>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2011-02-25 09:30:29 -03:00
..
browsers perf top browser: Fix up exit keys 2011-02-25 09:30:29 -03:00
browser.c perf ui: Serialize screen updates 2011-02-16 14:47:55 -02:00
browser.h perf ui browser: Add routines to compactly specify exit keys 2010-08-19 19:44:18 -03:00
helpline.c perf ui: Serialize screen updates 2011-02-16 14:47:55 -02:00
helpline.h perf ui browser: Add ui_browser__show counterpart: __hide 2010-08-10 15:44:20 -03:00
libslang.h perf top: Fix TUI compilation 2011-02-01 17:33:06 -02:00
progress.c perf ui: Move ui_progress routines to separate file in util/ui/ 2010-08-10 16:09:14 -03:00
progress.h perf ui: Move ui_progress routines to separate file in util/ui/ 2010-08-10 16:09:14 -03:00
setup.c perf ui: Serialize screen updates 2011-02-16 14:47:55 -02:00
ui.h perf ui: Serialize screen updates 2011-02-16 14:47:55 -02:00
util.c perf tools: Fix lost and unknown events handling 2010-11-27 02:41:01 -02:00
util.h perf ui: Complete the breakdown of util/newt.c 2010-08-10 16:11:38 -03:00