Update theme.md
[rainbowstream.git] / rainbowstream / draw.py
index a6f3e565a6c3f8cad63d3067a54629ceab8aa3d4..2fbe51de6336ecbf36ce2375d47ee9dd0142549d 100644 (file)
@@ -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