scripts: Prefer 1;30-37m ansi codes over 90-97m
Reading Wikipedia: > Later terminals added the ability to directly specify the "bright" > colors with 90–97 and 100–107. So if we want to stick to one pattern, we should probably go with brightness as a separate modifier. This shouldn't noticeably change any script, unless your terminal interprets 90-97m colors differently from 1;30-37m, in which case things should be more consistent now.
This commit is contained in:
+2
-3
@@ -40,13 +40,12 @@ COLORS = {
|
||||
'read': '32',
|
||||
'prog': '35',
|
||||
'erase': '34',
|
||||
'noop': '90',
|
||||
'noop': '1;30',
|
||||
}
|
||||
|
||||
# assign chars/colors to varying levels of wear
|
||||
WEAR_CHARS = '0123456789'
|
||||
# TODO adopt 9x for all of these?
|
||||
WEAR_COLORS = ['90', '90', '90', '', '', '', '', '31', '31', '91']
|
||||
WEAR_COLORS = ['1;30', '1;30', '1;30', '', '', '', '', '31', '31', '1;31']
|
||||
|
||||
# give more interesting operations a higher priority
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user