Skip to content

Commit

Permalink
Always show a single line for user input
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 committed Jun 26, 2023
1 parent 29a4371 commit 07a423c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drink-cli/src/ui/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ pub(super) fn layout<B: Backend>(f: &mut Frame<B>, app_state: &mut AppState) {
.direction(Direction::Vertical)
.constraints(
[
// current env
Constraint::Ratio(4, 20),
// output / help
Constraint::Ratio(12, 20),
Constraint::Ratio(2, 20),
// user input
Constraint::Length(3),
// footer
Constraint::Ratio(2, 20),
]
.as_ref(),
Expand Down

0 comments on commit 07a423c

Please sign in to comment.