We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Symlink and junction arrows render incorrectly on Windows default PowerShell (5.1.19041.1320).
When printing directory contents on Windows Terminal, symlinks and junctions display name as "icon link-name arrow target-name".
When printing directory contents on Windows Terminal, symlinks and junctions display name as "icon link-name ï•” target-name".
With 0.9.0, in Terminal-Icons.psm1:312 and Terminal-Icons.psm1:326 replace: $displayInfo['Target'] = ' ' + $FileInfo.Target with: $displayInfo['Target'] = ' ' + $glyphs['nf-mdi-arrow_right_thick'] + ' ' + $FileInfo.Target
Terminal-Icons.psm1:312
Terminal-Icons.psm1:326
$displayInfo['Target'] = ' ' + $FileInfo.Target
$displayInfo['Target'] = ' ' + $glyphs['nf-mdi-arrow_right_thick'] + ' ' + $FileInfo.Target
mkdir Target
mklink /J Link Target
ls
Arrows good. These are the only instances of explicit unicode glyphs in Terminal-Icons.psm1, so getting rid of them could be nice.
PSVersion 7.2.0, which is installed separately, renders the glyph correctly.
The text was updated successfully, but these errors were encountered:
b022094
Thanks @MadameMinty. This has been fixed in b022094.
Sorry, something went wrong.
devblackops
No branches or pull requests
Symlink and junction arrows render incorrectly on Windows default PowerShell (5.1.19041.1320).
Expected Behavior
When printing directory contents on Windows Terminal, symlinks and junctions display name as "icon link-name arrow target-name".
Current Behavior
When printing directory contents on Windows Terminal, symlinks and junctions display name as "icon link-name ï•” target-name".
Possible Solution
With 0.9.0, in
Terminal-Icons.psm1:312
andTerminal-Icons.psm1:326
replace:$displayInfo['Target'] = ' ' + $FileInfo.Target
with:
$displayInfo['Target'] = ' ' + $glyphs['nf-mdi-arrow_right_thick'] + ' ' + $FileInfo.Target
Steps to Reproduce (for bugs)
mkdir Target
mklink /J Link Target
ls
Context
Arrows good. These are the only instances of explicit unicode glyphs in Terminal-Icons.psm1, so getting rid of them could be nice.
Your Environment
PSVersion 7.2.0, which is installed separately, renders the glyph correctly.
The text was updated successfully, but these errors were encountered: