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

[Feature request] libreadline #407

Open
yangfl opened this issue May 29, 2018 · 7 comments
Open

[Feature request] libreadline #407

yangfl opened this issue May 29, 2018 · 7 comments

Comments

@yangfl
Copy link
Contributor

yangfl commented May 29, 2018

I would greatly appreciate it if support for libreadline could be added to io interface, so that users can edit input with arrow keys, just like that in Python, bash, and many more others.

@ales-tsurko
Copy link
Member

Could you check if the brew installed version of Io or earlier versions (somewhere before March) support arrow keys/readline? That worked for me before.
It looks like this bug has been introduced by some of the last commits.

@stevedekorte
Copy link
Member

yangfl, have you checked out the ReadLine addon?

@ales-tsurko
Copy link
Member

ales-tsurko commented Jun 18, 2018

@yangfl With current update you can install ReadLine or EditLine with Eerie.

@rubyFeedback
Copy link

@ales-tsurko I believe the issue-starter specifically asked for readline, not editline. It has been quite
some years since I last used Io; back then I think I had to use editline (this was really many years
ago, my knowledge is also only a fragmentation of what it once used to be now :-) ).

If support for readline is possible, I would recommend closing this issue here (and perhaps pointing
this out more clearly in the main README.md file, so that future visitors can be redirected here).

@ales-tsurko
Copy link
Member

@rubyFeedback as I said then you can use either readline or editline — the both are available via addons system.

@ales-tsurko
Copy link
Member

Note for me: to install readline/editline by default (as a global Eerie package).

@ales-tsurko
Copy link
Member

Ah, no. It depends on the user's preferences. Moreover, including any of them by default will introduce readline/editline dependency. And as for unix-like systems it's fine, for Windows it isn't. So it's better to add note in the README.md instead.

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

4 participants