Mercurial > hg
view tests/test-diffstat.out @ 10827:b66388f6adfa
color: don't split colors across lines (which confuses less -R)
Currently, less -R doesn't support colors spanning multiple lines; only
the first line will be colorized.
Instead of allowing colors to span multiple lines, the color extension
now applies colors to each line it receives, even when ui.write() is
given multiple lines in one call.
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Fri, 02 Apr 2010 15:22:19 -0500 |
parents | 7d17794f08a9 |
children |
line wrap: on
line source
% wide diffstat a | 213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 213 insertions(+), 0 deletions(-) % diffstat width a | 213 ++++++++++++++ 1 files changed, 213 insertions(+), 0 deletions(-) % narrow diffstat a | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) % binary diffstat b | 0 1 files changed, 0 insertions(+), 0 deletions(-) % binary git diffstat b | Bin 1 files changed, 0 insertions(+), 0 deletions(-)