forked from Imagelibrary/littlefs
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:
@@ -2399,7 +2399,7 @@ class TreeArt:
|
||||
trunk.append('%s%s%s%s' % (
|
||||
'\x1b[33m' if color and c == 'y'
|
||||
else '\x1b[31m' if color and c == 'r'
|
||||
else '\x1b[90m' if color and c == 'b'
|
||||
else '\x1b[1;30m' if color and c == 'b'
|
||||
else '',
|
||||
t,
|
||||
('>' if was else ' ') if d == self.depth-1 else '',
|
||||
|
||||
Reference in New Issue
Block a user