projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't drop user input after spaces when attempting eval
[rainbowstream.git]
/
rainbowstream
/
colors.py
diff --git
a/rainbowstream/colors.py
b/rainbowstream/colors.py
index 95d34c3bafe9124c33ecf742be6b6cdf1e85045b..bdbc4b44c14d6af7c4009af898b13ed3e86bd44f 100644
(file)
--- a/
rainbowstream/colors.py
+++ b/
rainbowstream/colors.py
@@
-1,4
+1,3
@@
-
def basic_color(code):
"""
16 colors supported
def basic_color(code):
"""
16 colors supported
@@
-21,6
+20,9
@@
def term_color(code):
return inner
return inner
+"""
+16 basic colors
+"""
default = basic_color('39')
black = basic_color('30')
red = basic_color('31')
default = basic_color('39')
black = basic_color('30')
red = basic_color('31')
@@
-38,6
+40,9
@@
light_magenta = basic_color('95')
light_cyan = basic_color('96')
white = basic_color('97')
light_cyan = basic_color('96')
white = basic_color('97')
+"""
+16 basic colors on background
+"""
on_default = basic_color('49')
on_black = basic_color('40')
on_red = basic_color('41')
on_default = basic_color('49')
on_black = basic_color('40')
on_red = basic_color('41')