diff options
author | Xavion <Xavion (dot) 0 (at) Gmail (dot) com> | 2016-03-28 00:35:37 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-05-05 05:52:23 +0200 |
commit | 7e7c64f513460cfb391e2fc558e6fdbc83faa54d (patch) | |
tree | 6a9a321a251174abdcaa4f20f53bb5e0cfe26761 /src/pacman/sync.c | |
parent | 7d1ea0b814723d6a422c5569df19513c40bf99fe (diff) | |
download | pacman-7e7c64f513460cfb391e2fc558e6fdbc83faa54d.tar.gz pacman-7e7c64f513460cfb391e2fc558e6fdbc83faa54d.tar.xz |
Add colour to group selection dialog
Colour the group name in 'blue' and the repository names in 'magenta'.
Signed-off-by: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r-- | src/pacman/sync.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 8ac5f570..8b306034 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -557,9 +557,10 @@ static int process_group(alpm_list_t *dbs, const char *group, int error) if(config->print == 0) { char *array = malloc(count); int n = 0; - colon_printf(_n("There is %d member in group %s:\n", - "There are %d members in group %s:\n", count), - count, group); + const colstr_t *colstr = &config->colstr; + colon_printf(_n("There is %d member in group %s%s%s:\n", + "There are %d members in group %s%s%s:\n", count), + count, colstr->groups, group, colstr->title); select_display(pkgs); if(!array) { ret = 1; |