aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-07 17:56:47 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-07 17:56:47 -0500
commit169af47fef8eb2a7d599ba21c1bd33eb4030267f (patch)
tree23658102b3b3bcdd74a448bba2d9621b475adc32
parent86e3e8c121bdc4ff2a2cf1a4430d563e0b6c46b1 (diff)
downloadtextmode-169af47fef8eb2a7d599ba21c1bd33eb4030267f.tar.gz
textmode-169af47fef8eb2a7d599ba21c1bd33eb4030267f.zip
cleanup
-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() {