commit | 8a3c63e01d2b1df471beafff5fb78df4bade9388 | [log] [tgz] |
---|---|---|
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | Mon Nov 23 23:40:03 2009 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Nov 23 15:36:07 2009 -0800 |
tree | b2e90f32aef65155545226b454eb9cf4ee63879f | |
parent | 3288f20171ce6aee5d9d51d111ee17cd4b426af4 [diff] |
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>