Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the position of the symbol? #81

Closed
lou1swu opened this issue Jul 11, 2018 · 4 comments
Closed

Change the position of the symbol? #81

lou1swu opened this issue Jul 11, 2018 · 4 comments
Labels
enhancement 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted

Comments

@lou1swu
Copy link

lou1swu commented Jul 11, 2018

Issuehunt badges

I want to change the position of the loading symbol,
like below:

$ loading <symbol>

Could I do that?

stroncium earned $30.00 by resolving this issue!

@sindresorhus
Copy link
Owner

That's not currently supported.

@sindresorhus sindresorhus changed the title Counld I change the position of the symbol Change the position of the symbol? Jul 17, 2018
@dextermb
Copy link

dextermb commented Oct 8, 2018

Wouldn't be too hard to support? Surely it would be checking for an (class not function) option here?

stopAndPersist(options = {}) {
	this.stop();
	this.stream.write(`${options.symbol || ' '} ${options.text || this.text}\n`); // <---

	return this;
}

Source

@IssueHuntBot
Copy link

@IssueHunt has funded $30.00 to this issue.


sindresorhus added a commit that referenced this issue Apr 2, 2019
Fixes #81

Co-authored-by: Sindre Sorhus <[email protected]>
@IssueHuntBot
Copy link

@sindresorhus has rewarded $27.00 to @stroncium. See it on IssueHunt

  • 💰 Total deposit: $30.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $3.00

@issuehunt-oss issuehunt-oss bot added the 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt label May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted
Projects
None yet
Development

No branches or pull requests

4 participants