Added clear, updated err.

This commit is contained in:
Fletcher Boyd 2013-09-06 16:10:48 +08:00
parent d29b3c313f
commit 893f621dd0

View file

@ -19,7 +19,8 @@ def raw(format_string):
'[lgray]':'\x0315', '[lgray]':'\x0315',
'[err]':'\x034\x02' '[err]':'\x034\x02'
'[/err]':'\x030\x02'} '[/err]':'\x030\x02'}
stuff['style'] = {'[b]':'\x02'} stuff['style'] = {'[b]':'\x02',
'[clear]':'\x0f'}
stuff['sym'] = {'[point]':'\x07'} stuff['sym'] = {'[point]':'\x07'}
stuff['text'] = {'[url]':'http://'} stuff['text'] = {'[url]':'http://'}
final = {} final = {}
@ -30,4 +31,4 @@ def raw(format_string):
return format_string return format_string
def err(format_string): def err(format_string):
"""Format the string with standard error styling""" """Format the string with standard error styling"""
return "\x034\x02{}\x030\x02".format(format_string) return "\x034\x02{}\x0f".format(format_string)