You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nvim-web-devicons make other plugins bugged with floating texts #271
It seems to be because some icons code, it was happening to me with ".txt" icon, so I replaced it with the same icon but the version for mi os (unix), using:
I encounter the issue when running: Alacritty on windows + WSL2 + tmux
As expected, the issue does not exist when I run Alacritty on windows + WSL2 (without tmux).
My $TERM without tmux is: xterm-256color.
My $TERM with tmux is: tmux-256color.
Oke I found the issue. I is indeed an issue with window's conpty. So for anyone encountering this issue, you need to make sure you have the latests version of conpty.dll and OpenConsole.exe, as is described in this post.
I'm not quite understanding the issue; can I please ask you to draft a section for README.md?
A PR would be great.
You can also use `get_icon_name_by_filetype(filetype)` to get the icon name associated with the filetype.
## Known Issues### XXX Not Rendering In Alacritty On Windows (with tmux?)
Ensure something something dll...
## Contributing
PRs are always welcome! Please see [CONTRIBUTING](CONTRIBUTING.md)
Activity
scardenasb commentedon May 16, 2023
It seems to be because some icons code, it was happening to me with ".txt" icon, so I replaced it with the same icon but the version for mi os (unix), using:
hilmiwicak commentedon May 16, 2023
Thank you for your reply @scardenasb ! I think this bug exist because tmux rendered it wrong. I just tried it outside tmux and it works just fine.
nullwiz commentedon May 21, 2023
Can confirm, I was having a similar issue in nvim-tree, where characters just end up there. Without tmux, it works fine.
alex-courtis commentedon May 22, 2023
Great news!
BartSte commentedon Apr 22, 2024
Did you find a solution to make tmux render them correctly? Or did you just stop using tmux?
alex-courtis commentedon Apr 23, 2024
Check your terminal then
$TERMThe terminal you started tmux from must be able to render the icons. Check
$TERMand test from outside of tmux.Test again from within tmux: what is the
$TERM?BartSte commentedon Apr 23, 2024
@alex-courtis, thanks for your help.
I encounter the issue when running: Alacritty on windows + WSL2 + tmux
As expected, the issue does not exist when I run Alacritty on windows + WSL2 (without tmux).
My
$TERMwithout tmux is:xterm-256color.My
$TERMwith tmux is:tmux-256color.When setting up tmux, I followed neovim's recommendations.
After doing some digging, I found a closed issue on the tmux repo suggesting the rendering issue was due to an issue with Window's ConPTY.
Also, this reddit post exactly matches the issue I had. No one suggested a solution, unfortunately.
Since only a small subset of the icons render incorrectly, the easiest workaround is to just replace those with other icons in my config.
I guess this is not an issue that can be solved by this repo, but hopefully these posts can help others encountering the same issue.
alex-courtis commentedon Apr 23, 2024
Nice digging! Could I please ask you to post some of those icons? It will be a useful reference for others that will likely experience the same issue.
BartSte commentedon Apr 23, 2024
Here a video of the issue:
I encountered the issue with the icons related to the following file extensions:
BartSte commentedon Apr 24, 2024
Oke I found the issue. I is indeed an issue with window's conpty. So for anyone encountering this issue, you need to make sure you have the latests version of conpty.dll and OpenConsole.exe, as is described in this post.
alex-courtis commentedon Apr 28, 2024
Great news.
I'm not quite understanding the issue; can I please ask you to draft a section for README.md?
A PR would be great.