Move pts to rust, and avoid using thread

This commit is contained in:
LoveSy
2025-04-09 20:46:32 +08:00
committed by John Wu
parent b8f1523fb2
commit c4847ed288
7 changed files with 141 additions and 402 deletions

View File

@@ -1,4 +1,6 @@
mod daemon;
mod db;
mod pts;
pub use daemon::SuInfo;
pub use pts::{pump_stdin_stdout, get_pty_num, restore_stdin};