projects
/
rainbowstream.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5443a29
)
Revert "Fix prefix color problem"
author
Orakaro
<nhatminh_179@hotmail.com>
Wed, 20 Nov 2019 17:08:01 +0000
(
02:08
+0900)
committer
Orakaro
<nhatminh_179@hotmail.com>
Wed, 20 Nov 2019 17:08:01 +0000
(
02:08
+0900)
This reverts commit
72b51c80a88a029d7b9fa4421dd838e58294560f
.
rainbowstream/rainbow.py
patch
|
blob
|
blame
|
history
diff --git
a/rainbowstream/rainbow.py
b/rainbowstream/rainbow.py
index ad7534a7b7b21a45eab839e67a2505fba3b3983d..5154d6ef6b429ee94dcc80ec745569d5a58d8427 100644
(file)
--- a/
rainbowstream/rainbow.py
+++ b/
rainbowstream/rainbow.py
@@
-251,7
+251,7
@@
def init(args):
g['PREFIX'] = u2str(emojize(format_prefix()))
g['full_name'] = name
g['decorated_name'] = lambda x: color_func(
g['PREFIX'] = u2str(emojize(format_prefix()))
g['full_name'] = name
g['decorated_name'] = lambda x: color_func(
- c['DECORATED_NAME'])('[' + x + ']: ')
+ c['DECORATED_NAME'])('[' + x + ']: '
, rl=True
)
# Theme init
files = os.listdir(os.path.dirname(__file__) + '/colorset')
themes = [f.split('.')[0] for f in files if f.split('.')[-1] == 'json']
# Theme init
files = os.listdir(os.path.dirname(__file__) + '/colorset')
themes = [f.split('.')[0] for f in files if f.split('.')[-1] == 'json']