Fix: remember to flush
This commit is contained in:
parent
ac97957394
commit
e1c6d31ee3
|
@ -166,6 +166,7 @@ pub fn handler_stdio() -> anyhow::Result<()> {
|
||||||
read = stdin.lock();
|
read = stdin.lock();
|
||||||
write = stdout.lock();
|
write = stdout.lock();
|
||||||
write_message(&mut write, &pointer_data)?;
|
write_message(&mut write, &pointer_data)?;
|
||||||
|
write.flush()?;
|
||||||
}
|
}
|
||||||
"exit" => {
|
"exit" => {
|
||||||
write_message(&mut write, &"exit")?;
|
write_message(&mut write, &"exit")?;
|
||||||
|
|
Loading…
Reference in New Issue