aboutsummaryrefslogblamecommitdiffstats
path: root/examples/tmux.rs
blob: 46a49267d37942115b56062b2b6424b684d4b171 (plain) (tree)
1
2
3
4
5
6
7
8
9

                         
 
                         

                 
                                            
                     
 




                                                 
#[cfg(feature = "async")]
mod tmux_impl;

#[cfg(feature = "async")]
#[tokio::main]
async fn main() {
    let tmux = tmux_impl::Tmux::new().await;
    tmux.run().await;
}

#[cfg(not(feature = "async"))]
fn main() {
    panic!("tmux example requires feature async")
}