Skip to content

Commit

Permalink
chore(deps): bump ratatui from 0.25.0 to 0.26.1 (#368)
Browse files Browse the repository at this point in the history
* chore(deps): bump ratatui from 0.25.0 to 0.26.1

Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.25.0...v0.26.1)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Use legacy layout (for now)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and cyqsimon committed Mar 2, 2024
1 parent bd477e7 commit 23d1879
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 28 deletions.
67 changes: 40 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ log = "0.4.21"
once_cell = "1.19.0"
pnet = "0.34.0"
pnet_macros_support = "0.34.0"
ratatui = "0.25.0"
ratatui = "0.26.1"
resolv-conf = "0.7.0"
simplelog = "0.12.1"
thiserror = "1.0.57"
Expand Down
1 change: 1 addition & 0 deletions src/display/components/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ impl Table {
let table = ratatui::widgets::Table::new(tui_rows_iter, widths_constraints)
.block(Block::default().title(self.title).borders(Borders::ALL))
.header(Row::new(column_names).style(Style::default().fg(Color::Yellow)))
.flex(ratatui::layout::Flex::Legacy)
.column_spacing(spacer_width);
frame.render_widget(table, rect);
}
Expand Down

0 comments on commit 23d1879

Please sign in to comment.