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: Update dependencies #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DamienPup
Copy link

@DamienPup DamienPup commented Aug 25, 2024

This repo hasn't been updated in a long time and I wanted to use it in one of my own projects. It also doesn't seem like this is getting merged into another project anytime soon, ratatui/ratatui#118 is tagged as "Status: On Hold", and in preiter93/tui-widget-list#20 the project owner mentioned not having enough time.
So I took it upon myself to update this project to keep it maintained until something happens with it.

I'll leave it up to you, but you may want to bump the package version in Cargo.toml since this is a pretty big update.

Changes

  • Bumped ratatui to 0.28.1, crossterm to 0.28.1, lazy_static to 1.5.0, and time to 0.3.36.
  • ratatui's Frame is no longer generic over the backend, and .size() was deprecated and replaced with .area().
  • ratatui::text::Spans was renamed to Line, and is no longer a tuple struct.
  • Fixed a bug in the list demo example on Windows where keys would double press.
  • Updated documentation to use the correct versions of packages, and the correct names (there were a few leftover references to tui-rs)
  • Fixed capitalization and broken links in some of the docs
  • A few other minor changes.

- Bumped ratatui to 0.28.1, crossterm to 0.28.1, lazy_static to 1.5.0, and time to 0.3.36.
- ratatui's Frame is no longer generic over the backend, fixed this. The deprecated .size() was also replaced with .area().
- ratatui::text::Spans was renamed to Line. Updated this in the code. Further more, it is no longer a tuple struct, updated code to use constructors and new methods
- List demo example: Fixed a bug on windows where keys would double press
- Updated documentation to use correct versions and package names
- Fixed capitalization and broken links in docs
- Other minor changes due to ratatui updates
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