Skip to content

Commit

Permalink
(chore) Bump ratatui, textarea and crossterm version in lock-step. (#310
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jsuereth authored Aug 13, 2024
1 parent be98131 commit 28aa79e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 40 deletions.
60 changes: 25 additions & 35 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ weaver_checker = { path = "crates/weaver_checker" }

clap = { version = "4.5.14", features = ["derive"] }
rayon = "1.10.0"
ratatui = { version = "0.27.0", features=["serde"] }
crossterm = { version = "0.27.0", features = ["serde"] }
tui-textarea = "0.5.1"
ratatui = { version = "0.28.0", features=["serde"] }
crossterm = { version = "0.28.1", features = ["serde"] }
tui-textarea = "0.6.1"

# workspace dependencies
serde.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions src/registry/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ impl<'a> SearchApp<'a> {
Constraint::Min(1),
Constraint::Length(3),
])
.split(frame.size());
.split(frame.area());
frame.render_widget(self.title(), chunks[0]);

// Render search reuslts.
Expand All @@ -290,7 +290,7 @@ impl<'a> SearchApp<'a> {
}

// Render the footer.
frame.render_widget(self.footer().widget(), chunks[2]);
frame.render_widget(self.footer(), chunks[2]);
}

// Processes events that will change the state of the UI.
Expand Down

0 comments on commit 28aa79e

Please sign in to comment.