close #10154
This commit is contained in:
Maxim Zhiburt 2023-08-31 13:43:27 +00:00 committed by GitHub
parent fd4ba0443d
commit 35fc387505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,8 @@ pub fn build_table(value: Value, description: String, termsize: usize) -> String
}
if val_table_width > desc_table_width {
increase_string_width(&mut desc, val_table_width);
desc_width += val_table_width - desc_table_width;
increase_string_width(&mut desc, desc_width);
}
if desc_table_width > termsize {