Fix: remember to flush

This commit is contained in:
Olivier 'reivilibre' 2022-05-29 09:36:54 +01:00
parent ac97957394
commit e1c6d31ee3
1 changed files with 1 additions and 0 deletions

View File

@ -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")?;