This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 75
Text not printed with rprint without newline #75
Comments
Thanks for the report! Applications that print to the terminal will usually only flush after a newline. When Line 430 in df90d57
|
japaric
added a commit
that referenced
this issue
Oct 19, 2020
terminal apps flush on newline by default (changing that is not straightforward iirc) so instead we flush after each write call so that data not containing a newline is printed immediately should fix #75
@jiayihu could you try the latest (git) version of Re-opening until we heard back from the author |
Yeah works fine now and I think I'll stick with the git version, logs are prettier now 😄 |
Thanks for confirming! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a strange bug where
rprint!(".")
doesn't print anything until I print a newline\n
later. For instancerprint!(".\n");
works,rprint!("."); rprint!("\n");
works too, and of courserprintln!(".");
works. Characters are not missed, it's just as if some buffer is flushed only when newline is met.This doesn't happen with cargo-embed so I created the issue here
The text was updated successfully, but these errors were encountered: