diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-04-09 20:26:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-19 18:07:49 +0200 |
commit | 5e0c3479759047311b6a518fd0bc512b232f201a (patch) | |
tree | 0b975ae4eecb5e3603ed7f6d4851beab81bf5b24 /gnu/packages | |
parent | d08e4d52a3c9790b8141d10540d4215a1df80375 (diff) |
ui: Highlight package and service search results.
* guix/ui.scm (package->recutils): Add #:highlighting parameter and use it.
(display-search-results): Add #:regexps parameter; call
'colorize-full-matches' and pass #:highlighting.
* guix/scripts/package.scm (process-query): Pass #:regexps to
'display-search-results'.
* guix/scripts/home.scm (search): Likewise.
* guix/scripts/system/search.scm (service-type->recutils): Add #:highlighting
parameter and use it.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions