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 a ScrollView and refactor painting logic with a newly added Canvas #25

Merged
merged 2 commits into from
Mar 10, 2024

Conversation

Philipp-M
Copy link
Owner

By abstracting the ratatui buffer into a Canvas, the whole drawing logic should simplify and be less dependent on ratatui.

This also majorly refactors the drawing logic of Text, which should be more correct now, as it really only draws within its valid viewport

By abstracting the ratatui buffer into a `Canvas`,
the whole drawing logic should simplify and be less dependent on ratatui.

This also majorly refactors the drawing logic of `Text`, which should be
more correct now, as it really only draws within its valid viewport
@Philipp-M Philipp-M merged commit 41831c0 into main Mar 10, 2024
7 checks passed
@Philipp-M Philipp-M deleted the scroll-view branch March 10, 2024 18:53
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.

1 participant