aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/tmux.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tmux.rs b/examples/tmux.rs
index 3d12c65..7f5c748 100644
--- a/examples/tmux.rs
+++ b/examples/tmux.rs
@@ -372,7 +372,7 @@ impl Tmux {
}
Ok(Event::Command(c)) => match c {
Command::NewWindow => {
- state.new_window(&ex, state.wevents.clone());
+ state.new_window(ex, state.wevents.clone());
state.redraw_current_window(&mut tm).await;
}
Command::NextWindow => {
@@ -399,7 +399,7 @@ impl Tmux {
async fn async_main(ex: &smol::Executor<'_>) {
let tmux = Tmux::new().await;
- tmux.run(&ex).await;
+ tmux.run(ex).await;
}
fn main() {