diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-03 14:14:37 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-02-03 14:14:37 +0000 |
commit | b032d8024e45eb84d21b8798cca8655b6366f01e (patch) | |
tree | 36d4fcdd309af9eb5536fd8c41f929fc40d47380 /libbb | |
parent | b108c7bb2181186a5d95d10a6f187c28b4c753f4 (diff) | |
download | busybox-w32-b032d8024e45eb84d21b8798cca8655b6366f01e.tar.gz busybox-w32-b032d8024e45eb84d21b8798cca8655b6366f01e.tar.bz2 busybox-w32-b032d8024e45eb84d21b8798cca8655b6366f01e.zip |
printf: better support for escape sequences
Upstream printf outputs one character at a time which doesn't
play well with emulation of ANSI escape sequences. Previous
workarounds for this only applied in limited circumstances.
Try a different approach: replace putchar() and printf() calls
in the printf applet with custom routines which store the output
in memory. It's only really output at the end of the program or
when a newline is detected and a non-trivial amount has been
collected.
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions