blob: 46a49267d37942115b56062b2b6424b684d4b171 (
plain) (
tree)
|
|
#[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")
}
|