diff options
author | a-kenji <aks.kenji@protonmail.com> | 2021-11-03 14:31:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 14:31:06 +0100 |
commit | a83a8b9a96263d2cf9f2dbafc1bf42e1d4b9c79c (patch) | |
tree | f8c6847aa713dd6d984d376d7d9a846612bc667a /zellij-server/src/os_input_output.rs | |
parent | b37b9e81cb10ca9ab9fef05f99386bea02905030 (diff) |
chore(warnings): remove unused imports (#833)
Diffstat (limited to 'zellij-server/src/os_input_output.rs')
-rw-r--r-- | zellij-server/src/os_input_output.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/zellij-server/src/os_input_output.rs b/zellij-server/src/os_input_output.rs index 3e19ca5a5..f8fe751a6 100644 --- a/zellij-server/src/os_input_output.rs +++ b/zellij-server/src/os_input_output.rs @@ -12,7 +12,7 @@ use std::env; use std::os::unix::io::RawFd; use std::os::unix::process::CommandExt; use std::path::PathBuf; -use std::process::{Child, Command, Stdio}; +use std::process::{Child, Command}; use std::sync::{Arc, Mutex}; use zellij_utils::{async_std, interprocess, libc, nix, signal_hook, zellij_tile}; @@ -20,12 +20,12 @@ use zellij_utils::{async_std, interprocess, libc, nix, signal_hook, zellij_tile} use async_std::fs::File as AsyncFile; use async_std::os::unix::io::FromRawFd; use interprocess::local_socket::LocalSocketStream; -use nix::fcntl::{fcntl, FcntlArg, FdFlag}; -use nix::pty::{forkpty, openpty, ForkptyResult, OpenptyResult, Winsize}; + +use nix::pty::{openpty, OpenptyResult, Winsize}; use nix::sys::signal::{kill, Signal}; use nix::sys::termios; -use nix::sys::wait::waitpid; -use nix::unistd::{self, ForkResult}; + +use nix::unistd; use signal_hook::consts::*; use zellij_tile::data::Palette; use zellij_utils::{ @@ -36,7 +36,6 @@ use zellij_utils::{ use async_std::io::ReadExt; pub use async_trait::async_trait; -use byteorder::{BigEndian, ByteOrder}; pub use nix::unistd::Pid; |