projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update theme.md
[rainbowstream.git]
/
rainbowstream
/
draw.py
diff --git
a/rainbowstream/draw.py
b/rainbowstream/draw.py
index a6f3e565a6c3f8cad63d3067a54629ceab8aa3d4..2fbe51de6336ecbf36ce2375d47ee9dd0142549d 100644
(file)
--- a/
rainbowstream/draw.py
+++ b/
rainbowstream/draw.py
@@
-31,6
+31,13
@@
def init_cycle():
g['cyc'] = init_cycle()
+def notify_cycle():
+ """
+ Notify from rainbow
+ """
+ g['cyc'] = init_cycle()
+
+
def order_rainbow(s):
"""
Print a string with ordered color with each character