Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Add color/icons? #346

Open
Freed-Wu opened this issue Aug 20, 2022 · 3 comments
Open

[feature] Add color/icons? #346

Freed-Wu opened this issue Aug 20, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Freed-Wu
Copy link

Now,

❯ scc
───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
Python                       8       822       64        98      660         94
Plain Text                   1        13        2         0       11          0
Shell                        1         5        0         1        4          0
gitignore                    1       126       23        33       70          0
───────────────────────────────────────────────────────────────────────────────
Total                       11       966       89       132      745         94
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $19,831
Estimated Schedule Effort (organic) 3.100349 months
Estimated People Required (organic) 0.568283
───────────────────────────────────────────────────────────────────────────────
Processed 28423 bytes, 0.028 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────

How about

❯ scc
───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines   Blanks  Comments     Code Complexity
───────────────────────────────────────────────────────────────────────────────
Python                      8       822       64        98      660         94
Plain Text                  1        13        2         0       11          0
Shell                       1         5        0         1        4          0
gitignore                   1       126       23        33       70          0
───────────────────────────────────────────────────────────────────────────────
Total                       11       966       89       132      745         94
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $19,831
Estimated Schedule Effort (organic) 3.100349 months
Estimated People Required (organic) 0.568283
───────────────────────────────────────────────────────────────────────────────
Processed 28423 bytes, 0.028 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────

And this icons with language name has color.

@boyter
Copy link
Owner

boyter commented Aug 30, 2022

Heh. Even github has issues with this. One of the main reasons I never put it in.

If there was 100% support for this across the board I would be happy to implement, but I think we are still a long way off that being a thing.

@boyter boyter added the enhancement New feature or request label Aug 30, 2022
@spenserblack
Copy link
Contributor

I think the standard way to handle this is to provide an opt-in option (e.g. --nerd-fonts). IMO it definitely should never be the default, since so many environments do not have a nerd font installed that can render icons.

@boyter
Copy link
Owner

boyter commented Oct 1, 2024

Yes, it would never be the default. If I ever get around to dotfile support it would be something you could turn on then. Hence no work on this currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants