mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
style(example): update panic message in minimal template (#1344)
This commit is contained in:
parent
3a90e2a761
commit
e02947be61
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ fn main() {
|
|||
loop {
|
||||
terminal
|
||||
.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello World!"), frame.area()))
|
||||
.expect("Failed to draw");
|
||||
.expect("failed to draw frame");
|
||||
if matches!(event::read().expect("failed to read event"), Event::Key(_)) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue