diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-05-14 21:51:15 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-05-14 21:51:15 +0200 |
commit | 6261571979a8192e1f7f5b719fb058218235331b (patch) | |
tree | c79669f07807cbf36187afbb0f3f51a409c42859 /lib/Colorize | |
parent | 919406858ea367fbcb328d2d5f29d65b0abd564a (diff) | |
download | colorize-6261571979a8192e1f7f5b719fb058218235331b.tar.gz colorize-6261571979a8192e1f7f5b719fb058218235331b.tar.bz2 |
Refactor print_clean
Avoid allocating memory for escape sequence offsets by printing
text in between directly. Furthermore, divide resulting code
into numerous functions in order to reduce complexity.
Thanks Urs Fässler
Diffstat (limited to 'lib/Colorize')
0 files changed, 0 insertions, 0 deletions