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
|
# # # # # # # # # # # # # # # # # # # # # # # # # # #
# Available variables:
#
# bg_alpha - background alpha value, range 0 to 255 (Pretty, but a big performance hit)
# bg_color - Background Color, RGB format
# txt_color_i - Text Color (Input). Color of the input line, RGB format
# txt_color_o - Text Color (Output). Color of the output lines, RGB format
# ps1/ps2/ps3 - strings that are prefixed to each input line, like their POSIX counterparts
# active - Whether or not the console is initially displayed
# repeat_rate - value to pass to pygame.key.set_repeat
# preserve_events - determines whether or not the console puts unused events back on the event queue
# python_mode - Send commands to the python interpreter instead of the pyconsole interpreter
# # # # # # # # # # # # # # # # # # # # # # # # # # #
bg_alpha 255
bg_color [0x0,0x44,0xAA]
txt_color_i [0xFF,0xFF,0xFF]
txt_color_o [0xEE,0xEE,0xEE]
ps1 "] "
ps2 ">>> "
ps3 "... "
active False
repeat_rate [500,30]
preserve_events True
python_mode False
motd ["|Fortune Engine || PyConsole 0.7|","Type help for a list of commands","Ctrl_w toggle the console","Ctrl_m toggle python mode"]
|