Skip to content

Commit

Permalink
Fix prodash build after function renmae
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 5, 2020
1 parent 3429327 commit 3848635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tui/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub(crate) enum InterruptDrawInfo {
}

use crosstermion::{
input::{input_stream, Key},
input::{key_input_stream, Key},
terminal::{tui::new_terminal, AlternateRawScreen},
};

Expand Down Expand Up @@ -136,7 +136,7 @@ pub fn render_with_input(
terminal.hide_cursor()?;

let duration_per_frame = Duration::from_secs_f32(1.0 / frames_per_second);
let key_receive = input_stream();
let key_receive = key_input_stream();

let render_fut = async move {
let mut state = draw::State {
Expand Down

0 comments on commit 3848635

Please sign in to comment.