author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Mon, 23 Nov 2009 22:40:03 +0000 (23:40 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 23 Nov 2009 23:36:07 +0000 (15:36 -0800) | ||
commit | 8a3c63e01d2b1df471beafff5fb78df4bade9388 | |
tree | b2e90f32aef65155545226b454eb9cf4ee63879f | tree | snapshot |
parent | 3288f20171ce6aee5d9d51d111ee17cd4b426af4 | commit | 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>
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 | diff | blob | history | |
utf8.c | diff | blob | history |