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 support #665

Closed
wcauchois opened this issue Aug 14, 2018 · 2 comments
Closed

Readline support #665

wcauchois opened this issue Aug 14, 2018 · 2 comments

Comments

@wcauchois
Copy link

Could readline support be added to ts-node? It would make working with it much nicer. Things like using the arrow keys to browse command history, and keeping a history of entered commands in a file or something like that.

I've tried using rlwrap with ts-node, but it's kind of finnicky -- sometimes it gets into a weird state. I'm on Mac OS X -- if anyone knows the right parameters to rlwrap to get it to work seamlessly with ts-node, that would also be appreciated.

@blakeembrey
Copy link
Member

You're welcome to submit a PR 👍

@cspotcode
Copy link
Collaborator

9.0.0 added support for NODE_NO_READLINE, which is probably all we need to do to support this, or at least have parity with vanilla node. #1090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants