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

Add Readline support #7

Open
rubyFeedback opened this issue Nov 25, 2020 · 1 comment
Open

Add Readline support #7

rubyFeedback opened this issue Nov 25, 2020 · 1 comment

Comments

@rubyFeedback
Copy link

Cursor keys can work via:

Readline.readline('')

perhaps it can be tried automatically. via a rescue.

If possible, then user input is read via readline. Otherwise
default to stdin.

@rwoliver2
Copy link
Collaborator

It's been quite a while since I wrote this so I don't recall if I tried to use readline or not. I vaguely recall wanting to keep it cross-platform and I think I ran into some Windows and Mac issues with readline. But yes, that would work.

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

2 participants