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

Add Terminalio support #9

Open
makermelissa opened this issue May 26, 2020 · 2 comments
Open

Add Terminalio support #9

makermelissa opened this issue May 26, 2020 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@makermelissa
Copy link
Collaborator

It would be awesome to be able to display the REPL on the display like with circuitpython. I believe we can just tap into stdout, but it may be more involved than that.

@makermelissa makermelissa added the enhancement New feature or request label May 26, 2020
@makermelissa makermelissa added this to the 1.0.0 milestone Jul 3, 2020
@anecdata
Copy link
Member

Would this include terminalio.Terminal?

@makermelissa
Copy link
Collaborator Author

Yeah, probably. The way that linux and CircuitPython works is a little different though. CircuitPython has the supervisor output to a serial output that it just decodes for the display. For linux, I think we would need to capture the terminal output and redirect to the display. It's similar and I've done it a bit in https://github.com/adafruit/Adafruit_Python_Shell/blob/main/adafruit_shell.py#L66-L101, but I don't think it's the same for what we would need here. It would need to capture Python output only and from the root instance that the library is running in and then you may need to deal with multiple python instances running, etc.

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

2 participants