[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-grep] [patch #3801] Red Hat's "color" patch
From: |
Julian Foad |
Subject: |
[bug-grep] [patch #3801] Red Hat's "color" patch |
Date: |
Thu, 28 Apr 2005 11:44:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050217 |
Follow-up Comment #1, patch #3801 (project grep):
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=138913
Summary: if grep's output causes the terminal to scroll while grep is
printing text with a different background colour, the terminal fills the new
line with that background colour and then grep may not fill the whole line
with new text, so the end of the line remains the wrong colour.
This patch attempts to print a "clear to end of line" control sequence after
the output, which gives the desired effect in this case. I'm not completely
sure that this is the right thing to do anyway, though it may be and I can't
think of anything better.
However, the current version of the patch appears to miss the "only_matching"
and "match_icase" cases.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3801>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug-grep] [patch #3801] Red Hat's "color" patch,
Julian Foad <=