add pty listener support

This commit is contained in:
Toshit Chawda 2024-09-01 18:48:46 -07:00
parent 67c9e3d982
commit 80c91c9381
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
5 changed files with 274 additions and 16 deletions

View file

@ -175,7 +175,7 @@ async fn main() -> anyhow::Result<()> {
}
});
let listener = ServerListener::new().await?;
let mut listener = ServerListener::new().await?;
loop {
let (stream, id) = listener.accept().await?;
tokio::spawn(async move {