diff options
author | hut <hut@lavabit.com> | 2010-04-09 04:19:58 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-09 04:19:58 +0200 |
commit | c78267904725b3838db4ae6430e71ca83b7f6846 (patch) | |
tree | 862ac336fdd21a8e0ff740648badec92562953f2 /doc | |
parent | d6cd804c94c998f4bcc165d40c2c4a948f57c04e (diff) | |
parent | 035a39a8a468ba842fd69a2370aba8ac3c1f3d39 (diff) | |
download | ranger-c78267904725b3838db4ae6430e71ca83b7f6846.tar.gz |
Merge branch 'master' into devel
Diffstat (limited to 'doc')
-rw-r--r-- | doc/print_keys.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/print_keys.py b/doc/print_keys.py new file mode 100644 index 00000000..0790acab --- /dev/null +++ b/doc/print_keys.py @@ -0,0 +1,14 @@ +#!/usr/bin/python +""" +You can use this tool to find out values of keypresses +""" + +from curses import * + +sep = '; ' + +@wrapper +def main(w): + while True: + w.addstr(str(w.getch()) + sep) + |