1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

zsh-workers/8868

This commit is contained in:
Tanaka Akira 1999-12-03 16:33:27 +00:00
parent 0eebb6014c
commit fc468377b8

View file

@ -614,6 +614,8 @@ putfilecol(Listcols c, char *group, char *n, mode_t m)
return 0;
}
static Cmgroup last_group;
static void
clprintm(Cmgroup g, Cmatch *mp, int mc, int ml, int lastc, int width,
char *path, struct stat *buf)
@ -621,8 +623,13 @@ clprintm(Cmgroup g, Cmatch *mp, int mc, int ml, int lastc, int width,
Cmatch m;
int len, subcols = 0;
if (g != last_group)
*last_cap = '\0';
last_group = g;
if (!mp) {
zcputs(&mcolors, g->name, COL_MI);
zcputs(&mcolors, g->name, COL_SP);
len = width - 2;
while (len-- > 0)
putc(' ', shout);