diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2020-05-04 13:27:30 +0800 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2020-05-04 13:27:30 +0800 |
commit | 42c541ac1977cef5169981c5996820214da9c937 (patch) | |
tree | 5f82f70e61536478de487a17726d69a8c5c467bf /src/interactive/widgets/footer.rs | |
parent | a078086ce7fad108929afc7c8f24ab7c05b1be46 (diff) |
Upgrade to tui 0.9v2.6.0tui-react-v0.4.0
Diffstat (limited to 'src/interactive/widgets/footer.rs')
-rw-r--r-- | src/interactive/widgets/footer.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interactive/widgets/footer.rs b/src/interactive/widgets/footer.rs index f89bae5..461580c 100644 --- a/src/interactive/widgets/footer.rs +++ b/src/interactive/widgets/footer.rs @@ -5,9 +5,9 @@ use tui::{ layout::Rect, style::Modifier, style::{Color, Style}, - widgets::Widget, - widgets::{Paragraph, Text}, + widgets::{Paragraph, Text, Widget}, }; + pub struct Footer; pub struct FooterProps { @@ -55,6 +55,6 @@ impl Footer { modifier: Modifier::REVERSED, ..Default::default() }) - .draw(area, buf); + .render(area, buf); } } |