about summary refs log tree commit diff stats
path: root/subx/066print-int.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-16 17:04:03 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-16 17:04:03 -0700
commita97886efb72e40c2a46b44916ae87dab53bfae00
#!/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)