update ansi drawing
This commit is contained in:
@@ -74,7 +74,7 @@ class bc:
|
||||
CLREND = '\033[K'
|
||||
CLRSCR = CLR+"\033[0;0H"
|
||||
|
||||
color_keys="PQWERTYU01234567XCZV;asdfghj)!@#$%^&"
|
||||
color_keys="pqwertyu01234567xczv;asdfghj)!@#$%^&"
|
||||
color_list=[K, R, G, Y, B, M, C, W, k, r, g, y, b, m, c, w,
|
||||
S,CLRSCR,Z,U,bk,br,bg,by,bb,bm,bc,bw,nk,nr,ng,ny,nb,nm,nc,nw ]
|
||||
|
||||
@@ -104,9 +104,19 @@ class bc:
|
||||
def setup_options():
|
||||
''' Create command line options '''
|
||||
usage='''
|
||||
Color notation renderer in ANSI codes
|
||||
Special syntaxes:
|
||||
* Colors: insert string ${C}, where C is one of KRGBYMCWkrgbymcwSUZ
|
||||
Color image renderer in ANSI codes. Example file:
|
||||
first layer of characters
|
||||
====CHAR
|
||||
more characters
|
||||
go here
|
||||
====COLOR
|
||||
color codes go here (letters 1-7,0 and keys below like a piano)
|
||||
zxcv: zero, bold, clearscreen, underline
|
||||
====EOI
|
||||
====PAUSE1.5
|
||||
another image starts, pause for 1.5 seconds before drawing the next
|
||||
====EOF
|
||||
end of image file
|
||||
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user