The library does not handle unprintable characters specially. If one uses uses pretty-simple to print such characters to stdout this can corrupt a connected terminal or have some amusing effects, such as opening the system print dialog.
This patch escapes any unprintable characters except newlines while giving an option to turn the old behaviour back on.
The library does not handle unprintable characters specially. If one uses uses pretty-simple to print such characters to stdout this can corrupt a connected terminal or have some amusing effects, such as opening the system print dialog.
This patch escapes any unprintable characters except newlines while giving an option to turn the old behaviour back on.