-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Render is completely messed up #132
Comments
charmbracelet/lipgloss#30 |
I'm using the UTF-8 setting on MacOS and have the same problem. |
I think this must have something to do with font decoding but I'm not sure how to set it up on macos. |
Thanks for your patient comments. I will make more attempts and provide more valuable feedback for diagnosis. |
https://github.com/charmbracelet/bubbletea?tab=readme-ov-file#bubble-tea-in-the-wild |
Following the reference you provide in your first comments, I found the first FAQ of
After running 'export RUNEWIDTH_EASTASIAN=0' the layout is normal right away! |
That really great! |
补充
LANG='zh_CN.UTF-8' spf
alias spf='RUNEWIDTH_EASTASIAN=0 spf'
alias spf='LANG=C.utf8 spf' @yorukot |
@yorukot I tried the latest 1.1.4 version, but the bug persists. |
@lunrenyi If so, there are currently no plans to completely solve it, mainly because this part of the calculation is implemented by bubbletea. |
Describe the bug
There appears to be a rendering issue in the directory tree view where the text and the directory lines are overlapping or not aligned correctly.
To Reproduce
Steps to reproduce the behavior:
install it on Mac using brew
brew install superfile
open it using 'spf'
spf
Expected behavior
I expected the directories and files to be listed in a clear, non-overlapping manner with proper alignment.
Screenshots
I have tried on different terminals including iterm2, native terminal, Warp and Alacritty, the layout is similar.
System information (please complete the following information):
The text was updated successfully, but these errors were encountered: