Revision 1629
Added by Aaron Marcuse-Kubitza almost 13 years ago
lib/term.py | ||
---|---|---|
1 |
# Exception handling
|
|
1 |
# Terminal output
|
|
2 | 2 |
|
3 | 3 |
csi = '\x1B[' |
4 | 4 |
|
5 |
clear_line = csi+'0J' |
|
6 |
|
|
5 | 7 |
def set_style(style): return csi+style+'m' |
6 | 8 |
|
7 | 9 |
reset_style = set_style('0') |
Also available in: Unified diff
term.py: Added clear_line. Corrected file comment.