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

readline module #49

Closed
gagle opened this issue Nov 25, 2013 · 6 comments
Closed

readline module #49

gagle opened this issue Nov 25, 2013 · 6 comments

Comments

@gagle
Copy link

gagle commented Nov 25, 2013

The readline module is very buggy. If you're using an instance in your script and then you use a progress bar, when it closes, the instance in your script is also closed. Can you avoid the readline module and use the functions process.stdout.clearLine() and process.stdout.cursorTo(<position>)?

For example, a "Waiting..." message: http://stackoverflow.com/questions/11600890/how-to-erase-characters-printed-in-console

@hallas
Copy link
Contributor

hallas commented Nov 25, 2013

We always appreciate a pull request :)

@gagle gagle closed this as completed Dec 5, 2013
@jdan jdan reopened this Feb 23, 2014
@jdan
Copy link
Collaborator

jdan commented Feb 23, 2014

I'm going to reopen this so we can explore the possibility :)

@jdan
Copy link
Collaborator

jdan commented Mar 13, 2014

I'm going to continue playing around with this tomorrow and see if cursorTo covers all of our needs.

@hallas
Copy link
Contributor

hallas commented Mar 13, 2014

👍

@hallas
Copy link
Contributor

hallas commented Mar 14, 2014

I'd like to play around with this a bit as well.

@hallas
Copy link
Contributor

hallas commented Mar 25, 2014

fixed in #58

@hallas hallas closed this as completed Mar 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants