Skip to content

Commit

Permalink
tui: Fix deprecations
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Nov 16, 2024
1 parent 30ff4db commit 76af289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tui/src/widget/text_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl<'a, Message> Widget<Message> for TextBox<'a> {
frame.render_widget(block, layout.area);

frame.render_widget(
state.area.widget(),
&state.area,
layout::pad_rect(layout.area, Padding::new(2, 2, 1, 1)),
);
}
Expand Down

0 comments on commit 76af289

Please sign in to comment.