When I compile my C-code using emscripten and in C use printf and in 
javascript receive the string via 'print', the newlines are removed.

This makes it quite difficult to discern the difference between these two 
printf's:

printf("foo");
printf("foo\n");

Visually, there is an important difference, though.

Is there some flag or some way print can be told to return the newlines?

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/d9fdb167-fe0a-428e-9ebf-7ff599189b04o%40googlegroups.com.

Reply via email to