/archive/2.vm/sandbox/

a href='/akspecs/ranger/blame/doc?h=v1.8.1&id=ddce7b7c81b711c58f2466bc0f6df11e2e134e38'>doc/print_keys.py
blob: 17d2513b4f238828360f4d9fbcd4d448c6ba794c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                     









                                                      

                                      
 
#!/usr/bin/env 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)