forked from Imagelibrary/littlefs
scripts: Tried to better document ansi color codes
This commit is contained in:
@@ -32,7 +32,14 @@ except ModuleNotFoundError:
|
|||||||
|
|
||||||
# we don't actually need that many chars/colors thanks to the
|
# we don't actually need that many chars/colors thanks to the
|
||||||
# 4-colorability of all 2d maps
|
# 4-colorability of all 2d maps
|
||||||
COLORS = ['34', '31', '32', '35', '33', '36']
|
COLORS = [
|
||||||
|
'34', # blue
|
||||||
|
'31', # red
|
||||||
|
'32', # green
|
||||||
|
'35', # purple
|
||||||
|
'33', # yellow
|
||||||
|
'36', # cyan
|
||||||
|
]
|
||||||
|
|
||||||
CHARS_DOTS = " .':"
|
CHARS_DOTS = " .':"
|
||||||
CHARS_BRAILLE = (
|
CHARS_BRAILLE = (
|
||||||
|
|||||||
@@ -85,12 +85,12 @@ CHARS = {
|
|||||||
'unused': '-',
|
'unused': '-',
|
||||||
}
|
}
|
||||||
COLORS = {
|
COLORS = {
|
||||||
'mdir': '33',
|
'mdir': '33', # yellow
|
||||||
'btree': '34',
|
'btree': '34', # blue
|
||||||
'data': '32',
|
'data': '32', # green
|
||||||
'corrupt': '31',
|
'corrupt': '31', # red
|
||||||
'conflict': '30;41',
|
'conflict': '30;41', # background red
|
||||||
'unused': '1;30',
|
'unused': '1;30', # bold gray
|
||||||
}
|
}
|
||||||
|
|
||||||
# give more interesting objects a higher priority
|
# give more interesting objects a higher priority
|
||||||
|
|||||||
@@ -28,7 +28,14 @@ except ModuleNotFoundError:
|
|||||||
|
|
||||||
# we don't actually need that many chars/colors thanks to the
|
# we don't actually need that many chars/colors thanks to the
|
||||||
# 4-colorability of all 2d maps
|
# 4-colorability of all 2d maps
|
||||||
COLORS = ['34', '31', '32', '35', '33', '36']
|
COLORS = [
|
||||||
|
'34', # blue
|
||||||
|
'31', # red
|
||||||
|
'32', # green
|
||||||
|
'35', # purple
|
||||||
|
'33', # yellow
|
||||||
|
'36', # cyan
|
||||||
|
]
|
||||||
|
|
||||||
CHARS_DOTS = " .':"
|
CHARS_DOTS = " .':"
|
||||||
CHARS_BRAILLE = (
|
CHARS_BRAILLE = (
|
||||||
|
|||||||
Reference in New Issue
Block a user