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

Update to Ratatui 0.21 #31

Merged
merged 2 commits into from
Jun 21, 2023
Merged

Conversation

joshka
Copy link
Contributor

@joshka joshka commented Jun 19, 2023

Cargo.toml is updated to specify 0.21 rather than 0.* as 0.21 deprecates
the Spans type and replaces it with Line. This is generally a good
thing as it makes the code more readable and easier to use.

A bunch of tests are updated to use the new Line type and are
simplified to use the Text::raw / Text::styled functions rather than
constructing the Spans type directly.

joshka and others added 2 commits June 18, 2023 23:31
Cargo.toml is updated to specify 0.21 rather than 0.* as 0.21 deprecates
the `Spans` type and replaces it with `Line`. This is generally a good
thing as it makes the code more readable and easier to use.

A bunch of tests are updated to use the new `Line` type and are
simplified to use the Text::raw / Text::styled functions rather than
constructing the `Spans` type directly.
@uttarayan21
Copy link
Owner

Thank you for the pr.

@uttarayan21 uttarayan21 merged commit cc377fc into uttarayan21:master Jun 21, 2023
2 checks passed
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

2 participants