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

feat(Paragraph): add alignment convenience functions #866

Merged
merged 1 commit into from
Jan 24, 2024
Merged

feat(Paragraph): add alignment convenience functions #866

merged 1 commit into from
Jan 24, 2024

Conversation

Eeelco
Copy link
Contributor

@Eeelco Eeelco commented Jan 24, 2024

Added convenience functions left_aligned(), centered() and right_aligned() plus unit tests. Updated example code.

Signed-off-by: Eelco Empting <me@eelco.de>
Copy link

codecov bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b80264d) 92.3% compared to head (8c33dde) 92.3%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #866   +/-   ##
=====================================
  Coverage   92.3%   92.3%           
=====================================
  Files         61      61           
  Lines      15986   16010   +24     
=====================================
+ Hits       14765   14789   +24     
  Misses      1221    1221           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joshka joshka merged commit d726e92 into ratatui:main Jan 24, 2024
38 checks passed
@joshka
Copy link
Member

joshka commented Jan 24, 2024

LGTM. Thanks for the PR

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