-
-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
Expected Behavior
Most of the icons render in a single character width; I expect the XML icon to also render in one character.
Current Behavior
On both Windows (PowerShell 7.1.3 / Windows Terminal) and Mac (PowerShell 7.1.3 / iTerm2) the XML icons appear to insert a leading space before the filename. Other icons don't do that.
Here's JetBrainsMono Nerd Font:
Here's FiraCode Nerd Font:
It doesn't seem to matter about the font or the terminal, there's always that extra space.
Possible Solution
I'm not sure if it's a double-character glyph where the extra space is an artifact or if there's a hidden character in the icon theme I haven't seen yet. Double-wide glyphs can get weird.
Steps to Reproduce (for bugs)
- Set up your terminal to use FiraCode Nerd Font or JetBrainsMono Nerd Font. Doesn't seem to matter if it's Mac or Windows.
- List a folder with an XML file in it.
Context
New user of the module, just noticed the odd spacing when listing a folder.
Your Environment
- Module version used: 0.4.0
- Operating System and PowerShell version: MacOS Big Sur 11.2.3, PowerShell 7.1.3, iTerm2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

