This commit is contained in:
Austen Adler 2022-12-18 03:13:14 -05:00
parent 8d26f6c55c
commit 82239eeb8e

View File

@ -78,7 +78,7 @@ fn ui_output<B: Backend>(f: &mut Frame<B>, output_region: Rect, command_result:
if command_result.status_success { if command_result.status_success {
f.render_widget( f.render_widget(
Paragraph::new(bytes_to_text(&command_result.stdout)) Paragraph::new(bytes_to_text(&command_result.stdout))
.block(Block::default().title("New").borders(Borders::ALL)), .block(Block::default().title("Output").borders(Borders::ALL)),
output_region, output_region,
); );
} else { } else {