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

Make it possible to type into the output view #87

Open
eerohele opened this issue Feb 12, 2022 · 0 comments
Open

Make it possible to type into the output view #87

eerohele opened this issue Feb 12, 2022 · 0 comments

Comments

@eerohele
Copy link
Owner

eerohele commented Feb 12, 2022

I feel like there's too much friction to using Tutkain: Input and Tutkain: Prompt with nested REPLs.

It might be interesting to make it possible to type into the output view, but only in the area following the prompt (e.g. user=> ).

Could maybe add on_selection_modified in a ViewEventListener that is only applicable for Tutkain output views to allow typing only in certain areas of the output view. Or maybe extend REPL syntax to "detect" the prompt? Not sure.

Need to rethink printing the prompt, though. Maybe a separate, toggleable mode for typing into the REPL?

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

1 participant