diff --git a/lib/tput.js b/lib/tput.js index c6b6ccd..c00d1e3 100644 --- a/lib/tput.js +++ b/lib/tput.js @@ -1137,7 +1137,7 @@ function sprintf(src) { if (opt.space) { if (!opt.signs && +initial >= 0) { - param = ' ' + param; + pre += ' '; } }