We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stopAndPersist()
1 parent c480a70 commit 5117dfbCopy full SHA for 5117dfb
index.js
@@ -358,7 +358,8 @@ class Ora {
358
const symbolText = options.symbol ?? ' ';
359
360
const text = options.text ?? this.text;
361
- const fullText = (typeof text === 'string') ? ' ' + text : '';
+ const separatorText = symbolText ? ' ' : '';
362
+ const fullText = (typeof text === 'string') ? separatorText + text : '';
363
364
const suffixText = options.suffixText ?? this.#suffixText;
365
const fullSuffixText = this.#getFullSuffixText(suffixText, ' ');
0 commit comments