mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 00:49:15 +00:00
Add 2 spaces after icons for better visibility
This commit is contained in:
parent
6b9f8f3666
commit
dc16ca2340
|
@ -23,7 +23,9 @@ struct icon_pair {
|
|||
*/
|
||||
|
||||
#define ICON_PADDING_LEFT ""
|
||||
#define ICON_PADDING_RIGHT " "
|
||||
#define ICON_PADDING_LEFT_LEN (0)
|
||||
#define ICON_PADDING_RIGHT " "
|
||||
#define ICON_PADDING_RIGHT_LEN (2)
|
||||
|
||||
#define COLOR_VIDEO 93 /* Purple */
|
||||
#define COLOR_AUDIO 220 /* Gold1 */
|
||||
|
|
|
@ -6373,7 +6373,7 @@ static int adjust_cols(int n)
|
|||
{
|
||||
/* Calculate the number of cols available to print entry name */
|
||||
#ifdef ICONS_ENABLED
|
||||
n -= (g_state.oldcolor ? 0 : 1 + xstrlen(ICON_PADDING_LEFT) + xstrlen(ICON_PADDING_RIGHT));
|
||||
n -= (g_state.oldcolor ? 0 : 1 + ICON_PADDING_LEFT_LEN + ICON_PADDING_RIGHT_LEN);
|
||||
#endif
|
||||
if (cfg.showdetail) {
|
||||
/* Fallback to light mode if less than 35 columns */
|
||||
|
|
Loading…
Reference in a new issue