mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
unicode all the things
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+4
-3
@@ -12,15 +12,16 @@ from __future__ import absolute_import
|
||||
|
||||
import sys
|
||||
import time
|
||||
import crayons
|
||||
|
||||
STREAM = sys.stderr
|
||||
|
||||
BAR_TEMPLATE = '%s[%s%s] %i/%i - %s\r'
|
||||
BAR_TEMPLATE = u' %s%s%s %i/%i — {0}\r'.format(crayons.black('%s'))
|
||||
MILL_TEMPLATE = '%s %s %i/%i\r'
|
||||
|
||||
DOTS_CHAR = '.'
|
||||
BAR_FILLED_CHAR = '='
|
||||
BAR_EMPTY_CHAR = ' '
|
||||
BAR_FILLED_CHAR = crayons.green('❒', bold=True)
|
||||
BAR_EMPTY_CHAR = crayons.black('❒')
|
||||
MILL_CHARS = ['|', '/', '-', '\\']
|
||||
|
||||
# How long to wait before recalculating the ETA
|
||||
|
||||
Reference in New Issue
Block a user