GNU bug report logs -
#54823
[PATCH 0/3] Highlight keywords in search results
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sat, 9 Apr 2022 20:23:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi!
In the quest for colorful output, one thing I’ve always missed
is keyword highlighting in the search results in ‘guix search’,
‘guix system search’, and ‘guix home search’.
The last patch does that; the first one highlights the ‘name’
and ‘version’ field of the recutils output.
Thoughts?
Ludo’.
Ludovic Courtès (3):
ui: Highlight important bits in recutils output.
colors: Add 'colorize-full-matches'.
ui: Highlight package and service search results.
guix/colors.scm | 22 ++++++++++++
guix/scripts/home.scm | 1 +
guix/scripts/package.scm | 3 +-
guix/scripts/system/search.scm | 37 +++++++++++++-------
guix/ui.scm | 64 +++++++++++++++++++++++-----------
5 files changed, 93 insertions(+), 34 deletions(-)
base-commit: 0996d48d0e79a360e0d5583b812cd565f62ca32e
--
2.35.1
This bug report was last modified 3 years and 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.