Fix prefix color problem
authorOrakaro <nhatminh_179@hotmail.com>
Wed, 20 Nov 2019 16:04:22 +0000 (01:04 +0900)
committerOrakaro <nhatminh_179@hotmail.com>
Wed, 20 Nov 2019 16:04:22 +0000 (01:04 +0900)
rainbowstream/rainbow.py

index e231ba0..47b6ec3 100644 (file)
@@ -250,7 +250,7 @@ def init(args):
     g['PREFIX'] = u2str(emojize(format_prefix()))
     g['full_name'] = name
     g['decorated_name'] = lambda x: color_func(
-        c['DECORATED_NAME'])('[' + x + ']: ', rl=True)
+        c['DECORATED_NAME'])('[' + x + ']: ')
     # Theme init
     files = os.listdir(os.path.dirname(__file__) + '/colorset')
     themes = [f.split('.')[0] for f in files if f.split('.')[-1] == 'json']