diff options
author | Julian T <julian@jtle.dk> | 2024-05-22 22:54:50 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2024-05-22 22:54:50 +0200 |
commit | dd11cf4ab199e5d53d03dc95b24007a12727ad70 (patch) | |
tree | 710f94ac775ac8e3d279f40638034b847516f0e3 /src/render/footer.rs | |
parent | 829cbaf2d0fe95abc9c65b1e34e209fc32952805 (diff) |
Start goprojekt istedet
Diffstat (limited to 'src/render/footer.rs')
-rw-r--r-- | src/render/footer.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/render/footer.rs b/src/render/footer.rs deleted file mode 100644 index 9e74de8..0000000 --- a/src/render/footer.rs +++ /dev/null @@ -1,20 +0,0 @@ -use ratatui::{style::{Modifier, Style}, widgets::{Paragraph, Widget}}; - - -#[derive(Debug, Default)] -pub struct Footer; - -impl Footer { - pub fn new() -> Footer { - return Footer {} - } -} - -impl Widget for &Footer { - - fn render(self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) { - Paragraph::new("hellow") - .style(Style::default().add_modifier(Modifier::REVERSED)) - .render(area, buf); - } -} |