A note for the future
This commit is contained in:
parent
5db69933b0
commit
e2b8490b6e
|
@ -63,6 +63,7 @@ fn pty_session(t: &mut Activation, local_ds: Arc<Cap>, s: PtySession<AnyValue>)
|
|||
|
||||
on_message!(t, local_ds, language(), <pty-input #(&s.id) $body: Chunk>, |_t| {
|
||||
tracing::trace!(?body, "sending to child");
|
||||
// TODO: use async here
|
||||
parent_w.write_all(&body.0[..])?;
|
||||
Ok(())
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue