[bug-diffutils] bug#31105: bug#31105: [PATCH] Restart and reset ANSI escapes on each line for compatibility with less -R

2018-04-09 Thread Dennis Lambe Jr.
The previous patch had an error in the first hunk for normal.c. I forgot to remove an "if" line when I removed the following conditional line. Due to its placement before a "for" line that tested the same condition, it didn't affect the behavior of the patch, but it was unsightly. I've

[bug-diffutils] bug#31105: [PATCH] Restart and reset ANSI escapes on each line for compatibility with less -R

2018-04-09 Thread Dennis Lambe Jr.
Hello! GNU less can display ANSI-colored text with the -R flag, but this support has some limitations. One of them is that if an escape sequence starts on one line and ends on a different line, only the first line will be colored in less. As a result, when diff creates colored output