Add 2 spaces after icons for better visibility

This commit is contained in:
Arun Prakash Jana 2022-04-26 03:59:12 +05:30
parent 6b9f8f3666
commit dc16ca2340
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,9 @@ struct icon_pair {
*/ */
#define ICON_PADDING_LEFT "" #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_VIDEO 93 /* Purple */
#define COLOR_AUDIO 220 /* Gold1 */ #define COLOR_AUDIO 220 /* Gold1 */

View file

@ -6373,7 +6373,7 @@ static int adjust_cols(int n)
{ {
/* Calculate the number of cols available to print entry name */ /* Calculate the number of cols available to print entry name */
#ifdef ICONS_ENABLED #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 #endif
if (cfg.showdetail) { if (cfg.showdetail) {
/* Fallback to light mode if less than 35 columns */ /* Fallback to light mode if less than 35 columns */