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

fix(reflow): handle ZWSP #1074

Merged
merged 1 commit into from
Apr 28, 2024
Merged

fix(reflow): handle ZWSP #1074

merged 1 commit into from
Apr 28, 2024

Conversation

kxxt
Copy link
Contributor

@kxxt kxxt commented Apr 27, 2024

Handle ZWSP as a possible wrapping point.

See #293 (comment) for more details.

Copy link

codecov bot commented Apr 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.4%. Comparing base (da1ade7) to head (3bed071).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1074   +/-   ##
=====================================
  Coverage   89.4%   89.4%           
=====================================
  Files         61      61           
  Lines      15462   15468    +6     
=====================================
+ Hits       13833   13839    +6     
  Misses      1629    1629           

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

src/widgets/reflow.rs Outdated Show resolved Hide resolved
@kxxt kxxt force-pushed the fix/zwsp branch 2 times, most recently from 7b4c823 to 8f2df53 Compare April 27, 2024 15:52
Handle ZWSP as a possible wrapping point.
Copy link
Sponsor Member

@orhun orhun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, needs additional review/approval

@orhun orhun changed the title fix(WordWrapper): handle ZWSP fix(reflow): handle ZWSP Apr 28, 2024
@joshka joshka merged commit f4637d4 into ratatui-org:main Apr 28, 2024
35 of 36 checks passed
kxxt added a commit to kxxt/tracexec that referenced this pull request Apr 28, 2024
For now it doesn't correctly wrap at ZWSP. It will fixed by ratatui-org/ratatui#1074 in the next release of ratatui
joshka pushed a commit to nowNick/ratatui that referenced this pull request May 24, 2024
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.

None yet

3 participants