Make FileIo pollable

This commit is contained in:
Ruihan Li
2024-09-02 14:31:20 +08:00
committed by Tate, Hongliang Tian
parent c7b3a596dd
commit bbfc2cd12d
13 changed files with 112 additions and 74 deletions

View File

@ -11,7 +11,7 @@ use crate::{
/// job control.
///
/// We currently support two kinds of terminal, the tty and pty.
pub trait Terminal: Send + Sync + FileIo {
pub trait Terminal: FileIo {
// *************** Foreground ***************
/// Returns the foreground process group