Skip to content

Commit 74f5585

Browse files
Changed terminal to term in EventType::Tick
1 parent 12b5bd9 commit 74f5585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2997,7 +2997,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
29972997
EventType::Tick => {
29982998
// This part updates the UI using the terminal, only if it's initialized
29992999
let _ = print_ui(
3000-
&mut terminal.as_mut().unwrap(),
3000+
term,
30013001
&mut oxide,
30023002
start_time,
30033003
frame_rate,

0 commit comments

Comments
 (0)