-
Notifications
You must be signed in to change notification settings - Fork 714
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
Drop in readline replacement #250
Comments
Hi @memeplex, Yes, it's not yet a drop-in replacement. However, there is a pull request to make it compatible with the Python readline API. Note that this is unfinished. It is still on my list of things to do, but never had the highest priority, and there were always more import things to be done. The main goal of that pull request is that prompt-toolkit can be used as the readline implementation for Pypy. Making it compatible with the readline abi is another thing. I'm not sure about embedding Python code inside a bash/zsh/whatever process. But if that is possible, and we can route all readline operations into Python, that would be very nice. Jonathan |
Notice that it could be a client-server architecture instead of an embedding one, althought I think latency could be noticeable in the first case. |
[removed finalterm comment] |
@jonathanslenders wrong issue? I don't think this has anything to do with iTerm2 shell integration. |
Opening again. My mistake. Thanks @asmeurer |
For a moment I thought I had been awaken from hibernation in 2050 and pt was installed in every remote server in the cloud. |
I'm opening this mainly for discussion.
You mention that ppt is not only but also intended as a readline replacement. There are a lot of applications out there that currently depend on readline abi and api, which could certainly benefit from ppt if it could pretend to be readline. The current state of affairs is somewhat disappointing, as we have to wait for the pure ppt version of every tool under the sun. Have you thought about providing a drop-in readline replacement implemented on top of ppt? Do you see any showstopper for this?
athame managed to do what I'm suggesting using vim itself as the backend.
The text was updated successfully, but these errors were encountered: