From 5ec96e5d9a321a654777449bcd597ebabfaa6ffa Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 7 Mar 2021 19:04:34 -0500 Subject: reorganize a bit --- examples/tmux.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/tmux.rs b/examples/tmux.rs index b85b603..ac7205d 100644 --- a/examples/tmux.rs +++ b/examples/tmux.rs @@ -93,7 +93,7 @@ impl State { fn spawn_input_task( &self, ex: &smol::Executor<'_>, - mut input: textmode::Input, + mut input: textmode::blocking::Input, ) { let notify = self.wevents.clone(); ex.spawn(async move { @@ -309,8 +309,8 @@ impl State { #[must_use] struct Tmux { - input: textmode::Input, - _raw: textmode::RawGuard, + input: textmode::blocking::Input, + _raw: textmode::blocking::RawGuard, tm: textmode::Output, _screen: textmode::ScreenGuard, state: State, @@ -318,7 +318,7 @@ struct Tmux { impl Tmux { async fn new() -> Self { - let (input, _raw) = textmode::Input::new(); + let (input, _raw) = textmode::blocking::Input::new(); let (tm, _screen) = textmode::Output::new().await.unwrap(); let state = State::new(); Self { -- cgit v1.2.3-54-g00ecf