feat: make SSH interaction UI fully responsive

This commit is contained in:
2025-12-30 00:09:18 +07:00
parent 85f21e7698
commit d8330c684f
3 changed files with 363 additions and 87 deletions

View File

@@ -85,9 +85,9 @@ func New(conn *ssh.ServerConn, forwardingReq <-chan *ssh.Request, sshChan <-chan
}
return
}
session.HandleTCPIPForward(tcpipReq)
go session.HandleTCPIPForward(tcpipReq)
})
go session.HandleGlobalRequest(reqs)
session.HandleGlobalRequest(reqs)
}
if err := session.lifecycle.Close(); err != nil {
log.Printf("failed to close session: %v", err)