feat: results box in user interface

This commit is contained in:
Muhammad Nauman Raza 2024-05-28 15:42:49 +01:00
parent 49136205a2
commit a77796aee7
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -50,5 +50,9 @@ pub fn render(app: &mut App, frame: &mut Frame) {
+ ((app.input.visual_cursor()).max(scroll) - scroll) as u16 + ((app.input.visual_cursor()).max(scroll) - scroll) as u16
+ 1, + 1,
chunks[1].y + 1, chunks[1].y + 1,
) );
let messages = Paragraph::new("Another placeholder")
.block(Block::default().borders(Borders::ALL).title("Results"));
frame.render_widget(messages, chunks[2]);
} }