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

Configure ratatui-image preview background/frame color. #521

Open
benjajaja opened this issue Apr 3, 2024 · 0 comments
Open

Configure ratatui-image preview background/frame color. #521

benjajaja opened this issue Apr 3, 2024 · 0 comments

Comments

@benjajaja
Copy link
Contributor

benjajaja commented Apr 3, 2024

benjajaja/ratatui-image#21

image
Due to ratatui's immediate-mode nature, the cells behind the image must be "skipped" so that nothing draws over the image. In other words, the cells behind the image still have whatever was drawn last time before they were marked skipped for the image. Thus, the image must always fill the cells/area, and the frame cannot be made transparent.

The background color should be configurable.

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