Open joshka opened 2 weeks ago
Note - panic example is not yet complete, and this probably needs a once over to check that I've not accidentally introduced bugs. This is still a WIP, but the key takeaway is that this drops about 900 lines of code from 41 example files.
Attention: Patch coverage is 0%
with 113 lines
in your changes missing coverage. Please review.
Project coverage is 93.7%. Comparing base (
4bfdc15
) to head (37be39b
). Report is 6 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
src/backend/crossterm.rs | 0.0% | 101 Missing :warning: |
src/backend.rs | 0.0% | 12 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In https://github.com/ratatui-org/ratatui/pull/1180 and https://github.com/ratatui-org/ratatui/pull/1181, we introduced some simpler ways to create a backend and terminal, and to setup color_eyre to handle errors. This PR updates the examples to use these new methods, and removes a bunch of unnecessary boilerplate code.