update ansi drawing
This commit is contained in:
1
bin/srcframes2ans
Symbolic link
1
bin/srcframes2ans
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../reporting/srcframes2ans
|
||||||
@@ -74,7 +74,7 @@ class bc:
|
|||||||
CLREND = '\033[K'
|
CLREND = '\033[K'
|
||||||
CLRSCR = CLR+"\033[0;0H"
|
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,
|
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 ]
|
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():
|
def setup_options():
|
||||||
''' Create command line options '''
|
''' Create command line options '''
|
||||||
usage='''
|
usage='''
|
||||||
Color notation renderer in ANSI codes
|
Color image renderer in ANSI codes. Example file:
|
||||||
Special syntaxes:
|
first layer of characters
|
||||||
* Colors: insert string ${C}, where C is one of KRGBYMCWkrgbymcwSUZ
|
====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
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,10 @@ function! CharDraw_blocks ()
|
|||||||
map! 7 ▓
|
map! 7 ▓
|
||||||
map! 8 ▄
|
map! 8 ▄
|
||||||
map! 9 █
|
map! 9 █
|
||||||
|
map! 0
|
||||||
map! - ▞
|
map! - ▞
|
||||||
map! + ▚
|
map! + ▚
|
||||||
set statusline=%f\ %=\ [░▀▒▐■▌▓▄█▞▚]\(%v,%l)\ HEX:%B
|
set statusline=%f\ %=\ [░▀▒▐■▌▓▄█ ▞▚]\(%v,%l)\ HEX:%B
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! CharDraw_lines ()
|
function! CharDraw_lines ()
|
||||||
|
|||||||
Reference in New Issue
Block a user