sindresorhus / ora

Elegant terminal spinner
MIT License
9.08k stars 269 forks source link

frame() does not display dynamic prefixText or suffixText returned by functions #237

Open chelevich opened 6 months ago

chelevich commented 6 months ago

When prefixTest is a function ``frame() needs to call getFullPrefixText() and when suffixText is a function call getFullSuffixText()

This would allow dynamic prefixes while it's spinning.