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

Rework how irust server works #103

Open
sigmaSd opened this issue Nov 6, 2022 · 0 comments
Open

Rework how irust server works #103

sigmaSd opened this issue Nov 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sigmaSd
Copy link
Owner

sigmaSd commented Nov 6, 2022

IRust can spawn a server useful for editor plugins to send input, but its currently really tailored to a custom plugin I wrote https://github.com/sigmaSd/irust-vim-plugin

-> The server currently receives input from the client and run it on the repl

I think a better way is to make this a server that listens to input and then sends back the output to the client and the client gets to decide what it wants to do with it.

This would make easily integrate-able with something like https://github.com/Olical/conjure

Another option is to wait for crossterm-rs/crossterm#711 this will allow for the repl to receive stdin with normal keys (like every other repl) and so we wouldn't need the server workaround

@sigmaSd sigmaSd added the enhancement New feature or request label Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant