projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add notification command
[rainbowstream.git]
/
rainbowstream
/
colors.py
diff --git
a/rainbowstream/colors.py
b/rainbowstream/colors.py
index d3e55349e390787e218b307b01be471a74325453..bdbc4b44c14d6af7c4009af898b13ed3e86bd44f 100644
(file)
--- a/
rainbowstream/colors.py
+++ b/
rainbowstream/colors.py
@@
-6,7
+6,7
@@
def basic_color(code):
c = code
if bold:
c = "1;%s" % c
c = code
if bold:
c = "1;%s" % c
- return "\0
01\033[%sm\002%s\001\033[0m\002
" % (c, text)
+ return "\0
33[%sm%s\033[0m
" % (c, text)
return inner
return inner
@@
-16,7
+16,7
@@
def term_color(code):
"""
def inner(text):
c = code
"""
def inner(text):
c = code
- return "\0
01\033[38;5;%sm\002%s\001\033[0m\002
" % (c, text)
+ return "\0
33[38;5;%sm%s\033[0m
" % (c, text)
return inner
return inner