api.commands: added a TODO entry
[ranger.git] / doc / print_keys.py
blobf87a2a408ae3b609de5cc1e9b3ad113ba8a4b55f
1 #!/usr/bin/env python
2 """
3 You can use this tool to find out values of keypresses
4 """
6 from curses import *
8 sep = '; '
10 @wrapper
11 def main(w):
12 while True:
13 w.addstr(str(w.getch()) + sep)