Skip to content

Conversation

@x37v
Copy link
Contributor

@x37v x37v commented Sep 5, 2025

This allows users to get the Display and draw to it directly if they'd like.

@j-g00da
Copy link
Owner

j-g00da commented Sep 6, 2025

Thanks! Can you add a simple test that draws something using ratatui, then draws dieractly and finally checks the resulting framebuffer?

@x37v
Copy link
Contributor Author

x37v commented Sep 11, 2025

@j-g00da how is that?

@x37v
Copy link
Contributor Author

x37v commented Sep 12, 2025

I'm actually trying to use this in my project right now and running into some issues so I'll report back once I have it fixed up

@x37v
Copy link
Contributor Author

x37v commented Sep 12, 2025

okay.. it does work, my issue was that i was rendering to the screen in the flush_callback but that must happen as part of the terminal.draw call.. now that the display is accessible, i can get rid of my flush_callback and simply tell the terminal to draw, then after, render the Display contents to my physical display.

x37v added 2 commits October 8, 2025 14:36
The test now uses both ratatui and direct drawing to make sure you can
overlay
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

Successfully merging this pull request may close these issues.

2 participants