mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-28 11:42:41 +03:00
cargo fmt
This commit is contained in:
parent
4fb4faa28d
commit
ce92374f8e
@ -3,9 +3,9 @@ use async_std::task;
|
||||
use async_std::task::*;
|
||||
use std::collections::HashMap;
|
||||
use std::os::unix::io::RawFd;
|
||||
use std::path::PathBuf;
|
||||
use std::pin::*;
|
||||
use std::time::{Duration, Instant};
|
||||
use std::path::PathBuf;
|
||||
|
||||
use crate::client::panes::PaneId;
|
||||
use crate::common::errors::{get_current_ctx, ContextType, PtyContext};
|
||||
@ -195,9 +195,7 @@ fn stream_terminal_bytes(
|
||||
task::sleep(::std::time::Duration::from_millis(10)).await;
|
||||
}
|
||||
}
|
||||
senders
|
||||
.send_to_screen(ScreenInstruction::Render)
|
||||
.unwrap();
|
||||
senders.send_to_screen(ScreenInstruction::Render).unwrap();
|
||||
#[cfg(not(test))]
|
||||
// this is a little hacky, and is because the tests end the file as soon as
|
||||
// we read everything, rather than hanging until there is new data
|
||||
|
@ -69,7 +69,8 @@ pub fn start_server(os_input: Box<dyn ServerOsApi>) -> thread::JoinHandle<()> {
|
||||
let to_server = to_server.clone();
|
||||
|
||||
move || route_thread_main(sessions, os_input, to_server)
|
||||
}).unwrap();
|
||||
})
|
||||
.unwrap();
|
||||
#[cfg(not(test))]
|
||||
let _ = thread::Builder::new()
|
||||
.name("server_listener".to_string())
|
||||
|
Loading…
Reference in New Issue
Block a user