File: Conio.py

package info (click to toggle)
atheist 0.20110402-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,348 kB
  • sloc: python: 4,764; xml: 626; makefile: 113; cpp: 54; ansic: 5; sh: 5
file content (16 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ESC = chr(27)

GREY =  ESC+'[38m'
RED =   ESC+'[31m'
PURPLE = ESC+'[95m'
GREEN = ESC+'[32m'

LIGHT_RED =   ESC+'[1;91m'
LIGHT_RED_BG =   ESC+'[7;91m'
LIGHT_GREEN_BG = ESC+'[7;32m'

BOLD =  ESC+'[1m'

HIGH =  ESC+'[1m'
NORM =  ESC+'[m'
CLS = ESC+'[2J' + ESC+'[0;0f'