mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 17:08:21 +00:00
fix crashes for multiline textboxes
for zero width or height terminals
This commit is contained in:
parent
ab75103d00
commit
9dd3cf30e1
1 changed files with 1 additions and 1 deletions
|
|
@ -634,7 +634,7 @@ impl DrawableComponent for TextInputComponent {
|
|||
|
||||
ui::rect_inside(
|
||||
Size::new(10, 3),
|
||||
Size::new(f.area().width, 3),
|
||||
f.area().into(),
|
||||
area,
|
||||
)
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue