[Yum-devel] [PATCH] and RFC: highlighting search terms in search output
Matthew Miller
mattdm at mattdm.org
Thu Oct 18 18:30:50 UTC 2007
On Thu, Oct 18, 2007 at 01:46:12PM -0400, James Antill wrote:
> Ok, this patch is fairly big adding a YumTerm class. Mostly derived
> from: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/475116
>
> I've included the mode changes and the color, in the class ... although
> the only thing used atm. is bold. The patch also contains the changes
> needed to pass the search terms down to listPkgs() etc. so it can be
> highlighted.
> This also works on the -v search output (although that looks pretty bad
> due to all the debugging info).
> Comments?
Cool. Can you make text from PluginYumExit (and the like) be automatically
wrapped at word boundaries?
--
Matthew Miller mattdm at mattdm.org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
More information about the Yum-devel
mailing list