Code

strbuf_add_wrapped_text(): skip over colour codes
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Mon, 23 Nov 2009 22:40:03 +0000 (23:40 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Nov 2009 23:36:07 +0000 (15:36 -0800)
commit8a3c63e01d2b1df471beafff5fb78df4bade9388
treeb2e90f32aef65155545226b454eb9cf4ee63879f
parent3288f20171ce6aee5d9d51d111ee17cd4b426af4
strbuf_add_wrapped_text(): skip over colour codes

Ignore display mode escape sequences (colour codes) for the purpose of
text wrapping because they don't have a visible width.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
utf8.c