less compact windows progress

This commit is contained in:
Pooya Parsa 2018-03-23 00:35:22 +04:30
parent 2ad24444f1
commit 686a54134d

View File

@ -8,7 +8,7 @@ const sharedState = {}
const BAR_LENGTH = 25 const BAR_LENGTH = 25
const IS_WINDOWS = /^win/.test(process.platform) const IS_WINDOWS = /^win/.test(process.platform)
const BLOCK_CHAR = IS_WINDOWS ? ' ' : '█' const BLOCK_CHAR = IS_WINDOWS ? ' ' : '█'
const BLOCK_CHAR2 = IS_WINDOWS ? '#' : '█' const BLOCK_CHAR2 = IS_WINDOWS ? '=' : '█'
const ICON_CHAR = IS_WINDOWS ? ':' : '⠸' const ICON_CHAR = IS_WINDOWS ? ':' : '⠸'
const BAR_BEFORE = IS_WINDOWS ? chalk.grey('[') : '' const BAR_BEFORE = IS_WINDOWS ? chalk.grey('[') : ''
const BAR_AFTER = IS_WINDOWS ? chalk.grey(']') : '' const BAR_AFTER = IS_WINDOWS ? chalk.grey(']') : ''