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

Icons Missing using PuTTY #331

Closed
BiskaWolf opened this issue Feb 19, 2020 · 7 comments
Closed

Icons Missing using PuTTY #331

BiskaWolf opened this issue Feb 19, 2020 · 7 comments
Labels
area/icon Icons related issues kind/question Asking how to use lsd or may not using correctly os/windows

Comments

@BiskaWolf
Copy link

Hi all,

Sorry I know this isn't really an issue with the package itself, but has anyone managed to get the icons working correctly using PuTTY on Windows?

@BasixKOR
Copy link

BasixKOR commented Mar 5, 2020

Install the patched fonts of powerline nerd-font and/or font-awesome. Have a look at the Nerd Font README for more installation instructions. Don't forget to setup your terminal in order to use the correct font.

Maybe this could help?

@RomelSan
Copy link

RomelSan commented Nov 28, 2020

It works in SSH under Windows Terminal - it is a modern terminal for Windows 10.
Putty and Kitty uses old Windows stuff so it will not work 100%.
Don't forget to use a Nerd Font.

@zwpaper zwpaper added area/icon Icons related issues os/windows kind/question Asking how to use lsd or may not using correctly labels Nov 29, 2020
@maxsatula
Copy link

@Koovu
I contacted PuTTY developer Simon, and he kindly fixed that.
Try using PuTTY development snapshot. Of course, don't forget to use Nerd Font.

@RomelSan
Copy link

@maxsatula
Tested on my PC.
The same font Caskaydia Cove Nerd Font will work 100% on Windows Terminal.
On Putty Development Snapshot will show only 50% of the icon.
For Example:
Clip Ico will show OK on both, type: echo -e "\uf64e".
Folder Ico will show 50% in Putty, type: echo -e "\uf115"

You can download the Nerd Font i am using here:
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip

snapshot

@maxsatula
Copy link

@RomelSan hmm... can it be font-specific? I just tried echo -e "\uf115" and it worked for me well, but I use Hack font (installed only *Windows Compatible.ttf files), not Cascadia Code

Keep in mind I was just a messenger here, I'm not part of either Nerd Font or PuTTY development teams.

@maxsatula
Copy link

Maybe because Cascadia Code is variable width, looking how your folder icon on the "correct" screenshot covers two letters above it. Hack, on the contrary, displays a folder glyph which is 1 character wide as other characters.

And that seems you have to switch to monospace font, here is what stackoverflow says: https://stackoverflow.com/questions/5776219/using-variable-width-font-in-putty

@RomelSan
Copy link

@maxsatula
Yes, you are right.
Putty only works with fonts (1 character wide).
Now i am installing monospace font version too.
Tested with hack nf mono windows compatible
fixed

Thanks for your help, now i can use putty again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/icon Icons related issues kind/question Asking how to use lsd or may not using correctly os/windows
Projects
None yet
Development

No branches or pull requests

6 participants