Skip to content

Commit

Permalink
Fix input form sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
akiomik committed Jan 12, 2024
1 parent 7e6ecec commit bb0bec4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ impl<'a> Component for Home<'a> {
let mut input_area = f.size();
input_area.height /= 2;
input_area.y = input_area.height;
input_area.height -= 2;
f.render_widget(Clear, input_area);

self.input.set_block(
Expand Down

0 comments on commit bb0bec4

Please sign in to comment.