workaround tui-rs issue

This commit is contained in:
Stephan Dilly 2021-08-15 17:13:59 +02:00
parent 047939ba6e
commit 47ff93734e

View file

@ -85,7 +85,7 @@ impl DrawableComponent for BlameFileComponent {
.try_into()?,
),
// the source code line
Constraint::Min(0),
Constraint::Percentage(100),
];
let number_of_rows = rows.len();