chore: dependencies updated

This commit is contained in:
Jack Wills
2023-03-30 18:44:14 +00:00
parent b246e8c25a
commit 5a360360ba
2 changed files with 11 additions and 5 deletions
+6
View File
@@ -796,6 +796,12 @@ pub fn delete_confirm<B: Backend>(
// Should maybe have a differenet button_space IF the f.width() is within 2 chars of no_chars + yes_chars?
let button_spacing = (max_line_width - no_chars - yes_chars) / 3;
let button_spacing = if (button_spacing + max_line_width) > f.size().width {
1
}else{
button_spacing
};
let split_buttons = Layout::default()
.direction(Direction::Horizontal)
.constraints(