Skip to content

Commit

Permalink
dirs in context color fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gruzdev committed Jun 22, 2024
1 parent 90eb2d3 commit f7cacae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -2284,8 +2284,10 @@ static bool initcurses(void *oldmask)
msg(env_cfg[NNN_COLORS]);
return FALSE;
}
} else
} else {
*pcode = (*colors < '0' || *colors > '7') ? 4 : *colors - '0';
fcolors[i + 1] = *pcode;
}
++colors;
} else
*pcode = 4;
Expand Down

0 comments on commit f7cacae

Please sign in to comment.