aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tmux.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tmux.rs')
-rw-r--r--examples/tmux.rs8
1 files changed, 4 insertions, 4 deletions
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 {