perf tui: Make <- exit menus too
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 16 May 2010 23:29:38 +0000 (20:29 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 16 May 2010 23:29:38 +0000 (20:29 -0300)
commita308f3a868185d4f804fe71d0400e2b058c6d9af
tree2c0ff9d6d0aba272060a453056e9c8cfe5c5dbb3
parent9d192e118a094087494997ea1c8a2faf39af38c5
perf tui: Make <- exit menus too

In fact it is now added to the hot key list when newt_form__new is used,
allowing us to remove the explicit assignment in all its users.

The visible change is that <- will exit the menu that pops up when -> is
pressed (and Enter when callchains are not being used).

Suggested-by: Ingo Molnar <mingo@elte.hu>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/newt.c