-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 or editline #1268
Comments
Anything that can more or less do as a drop-in replacement for readline would be lovely. Cutting down significantly on the more obscure readline features wouldn't matter ;) I'd be willing to contribute modestly to a bounty on this. |
This one looks promising: http://mingweditline.sourceforge.net/ |
As far as I remember it doesn't work well on non ASCII environment because it uses ReadConsoleInput. |
Here are two interesting projects, the later a header only lib: Linenoise is one of the most popular non-GPL readline replacements, but no 1:1 Windows port. |
It has some Unicode related code but as far as I understand ReadConsoleInput doesn't work well for some codepoints. I didn't know linenoise's development is so advaned. It uses ReadConsoleInputW and maybe works well. I'll check it further later. |
I checked linenoise. |
#3504 tries to add readline, so if you're still looking for readline give that PR a try ;-) |
@qmfrederik @claudiofantacci I tried #3504 and it works fine, thanks! |
Many command line tools depend its interactive editing on readline or libedit.
But such library is not ported to Visual C++ environment yet.
If either of readline or libedit is ported, it is helpful so much.
The text was updated successfully, but these errors were encountered: