Skip to content

Commit

Permalink
fix(deps): update tui-term, tui-textarea, ratatui, crossterm (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kyu08 committed Aug 7, 2024
1 parent 12789ac commit aec7e89
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 33 deletions.
91 changes: 64 additions & 27 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ repository = "https://github.com/kyu08/fzf-make"
regex = "1.10.4"
uuid = { version = "1.10.0", features = ["serde", "v4"] }
colored = "2.1.0"
crossterm = "0.27.0"
crossterm = "0.28.1"
fuzzy-matcher = "0.3.7"
vt100 = "0.15.2"
portable-pty = "0.8.1"
tui-term = "0.1.12"
tui-term = "0.1.13"
anyhow = "1.0.82"
ratatui = "0.27.0"
tui-textarea = "0.5.2"
ratatui = "0.28.0"
tui-textarea = "0.6.0"
toml = "0.8.19"
serde = {version = "1.0.204", features = ["derive"]}
simple-home-dir = "0.4.0"
4 changes: 2 additions & 2 deletions src/usecase/fzf_make/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn ui(f: &mut Frame, model: &mut Model) {
let main_and_key_bindings = Layout::default()
.direction(Direction::Vertical)
.constraints([Constraint::Min(3), Constraint::Length(1)])
.split(f.size());
.split(f.area());
render_hint_block(model, f, main_and_key_bindings[1]);

let main = Layout::default()
Expand Down Expand Up @@ -190,7 +190,7 @@ fn render_input_block(model: &mut SelectTargetState, f: &mut Frame, chunk: ratat
.0
.set_placeholder_text("Type text to search target");

f.render_widget(model.search_text_area.0.widget(), chunk);
f.render_widget(&model.search_text_area.0, chunk);
}

fn render_history_block(
Expand Down

0 comments on commit aec7e89

Please sign in to comment.