diff options
author | 2012-03-16 17:50:52 +0900 | |
---|---|---|
committer | 2012-03-16 16:32:36 -0300 | |
commit | aa49f6ec990baa9d8f1b46a86fc169a8028776d4 (patch) | |
tree | a9b2e4bd576e7c9390e07885ece249cfb4125e0d /tools/perf/util/ui/keysyms.h | |
parent | perf hists: Add hists__filter_by_symbol (diff) | |
download | linux-dev-aa49f6ec990baa9d8f1b46a86fc169a8028776d4.tar.xz linux-dev-aa49f6ec990baa9d8f1b46a86fc169a8028776d4.zip |
perf ui browser: Introduce ui_browser__input_window
The ui_browser__input_window() function is to get user's key input.
Current implementation can handle maximum 49 characters.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1331887855-874-2-git-send-email-namhyung.kim@lge.com
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | tools/perf/util/ui/keysyms.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/ui/keysyms.h b/tools/perf/util/ui/keysyms.h index 3458b1985761..809eca5707fa 100644 --- a/tools/perf/util/ui/keysyms.h +++ b/tools/perf/util/ui/keysyms.h @@ -16,6 +16,8 @@ #define K_TAB '\t' #define K_UNTAB SL_KEY_UNTAB #define K_UP SL_KEY_UP +#define K_BKSPC 0x7f +#define K_DEL SL_KEY_DELETE /* Not really keys */ #define K_TIMER -1 |