-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresources.py
More file actions
45 lines (43 loc) · 1.67 KB
/
Copy pathresources.py
File metadata and controls
45 lines (43 loc) · 1.67 KB
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
key_mapping = {
"\n": "RETURN",
"\x1b":"ESCAPE",
"\t":"TAB",
343: "NUM_RETURN",
263: "BACKSPACE",
"": "BACKSPACE",
330: "DEL",
331: "INSERT",
262: "HOME",
360: "END",
338: "PGDOWN",
339: "PGUP",
410: "RESIZE",
258: "DOWN",
259: "UP",
260: "LEFT",
261: "RIGHT"
}
tttc_logo= \
""" ____.
____.----' ,##/ _ _ _
____.----' ,##" / | |_ | |_ | |_ ___
_----' ,###" / | __| | __| | __| / __|
-_ .#####" / | |_ | |_ | |_ | (__
'-._ .#######" / \__| \__| \__| \___|
'-..#######" /
\#####" /
\##/, /
\/ '-, /
'-, /
' """.split("\n")
auth_text = {
0: ["", "Please enter your full phone number:", " %phone%^"],
1: ["An error occured trying to sign you in.", "Please enter your full phone number:", " %phone%^"],
2: ["", "Sending authentification code..."],
3: ["", "You have been sent a message with", "an activation code. Please provide said code:", " %code%^"],
4: ["Incorrect code.", "You have been sent a message with", "an activation code. Please provide said code:", " %code%^"],
5: ["", "Signing in..."],
6: ["", "Two factor authentification is enabled.", "Please provide your password: %pass%^"],
7: ["Incorrect password.", "Two factor authentification is enabled.", "Please provide your password: %pass%^"],
8: ["", "Signing in..."]
}