summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-08 19:24:40 +0200
committerhut <hut@lavabit.com>2010-04-08 19:24:40 +0200
commitfeea0c6ddb81321d932aa3761edfb6f96bab9eb8 (patch)
treea9cfed126bf53ba8a68e3c148c64d3c562e15241 /doc
parent9ea99e21402824ab670d81dc376cb58696edf9a4 (diff)
downloadranger-feea0c6ddb81321d932aa3761edfb6f96bab9eb8.tar.gz
added doc/print_keys.py
Diffstat (limited to 'doc')
-rw-r--r--doc/print_keys.py14
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)
+
cs/ranger/commit/TODO?h=v1.9.3&id=e92fe17a449cad78c79a905fd53ec73f8a41051c'>e92fe17a ^
b5493fe4 ^

ef0ee843 ^
0b8a9d79 ^
a6791aee ^
23236d0c ^
08f21ae5 ^
4b826595 ^
757e1f55 ^
277ecc9e ^
9983328c ^
752378e0 ^
ee4ad7e5 ^

b13518af ^
509afd70 ^
fc486c60 ^
eb063058 ^
2c1d2db0 ^
291ca616 ^
50845f37 ^
4be8b401 ^



d955e3f0 ^
75013dc7 ^
67bb838c ^
a808a661 ^
bba8d293 ^
2a64495f ^
5e449699 ^
fc486c60 ^
7b04e507 ^
6f43de0a ^




fca1fc4f ^
f70ee6b2 ^
0db4c9b2 ^
b2d63ef5 ^
291ca616 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59