chalk/wrap-ansi

Incorrect leading spaces #26

egoist posted onGitHub

with version 2.3.0:

// 1 leading space
require('wrap-ansi')(' a ', process.stdout.columns, {trim: false})

Out:

// 2 leading spaces
'  a '

Fund this Issue

$80.00
Rewarded

Rewarded pull request

Recent activities

stroncium was rewarded by sindresorhus for chalk/wrap-ansi# 26
about 6 years ago
stroncium submitted an output to  chalk/ wrap-ansi# 26
about 6 years ago