Comments (8)
Following the reference you provide in your first comments, I found the first FAQ of lipgloss
on its README.md is exactly relavent:
Why are things misaligning? Why are borders at the wrong widths?
This is most likely due to your locale and encoding, particularly with regard to Chinese, Japanese, and Korean (for example, zh_CN.UTF-8 or ja_JP.UTF-8). The most direct way to fix this is to set RUNEWIDTH_EASTASIAN=0 in your environment.
After running 'export RUNEWIDTH_EASTASIAN=0' the layout is normal right away!
(it's interesting to note that there may not be many Chinese, Japanese, or Korean MacOS users of this useful and supercool tool yet 😂.)
from superfile.
Thanks for your patient comments. I will make more attempts and provide more valuable feedback for diagnosis.
from superfile.
That really great!
I think this will be a frequently asked question in the future!
from superfile.
charmbracelet/lipgloss#30
It should be caused by font encoding. You can try change it to UTF-8 Encoding and CHCP 65001!
from superfile.
but the encoding of my terminal is already UTF8. the result of locale
is
LANG="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_CTYPE="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
this is the setting of iterm2:
I have tried export LANG=en_US.UTF-8
, the issue persists.
How should I config on MacOS?
from superfile.
I'm using the UTF-8 setting on MacOS and have the same problem.
from superfile.
I think this must have something to do with font decoding but I'm not sure how to set it up on macos.
from superfile.
https://github.com/charmbracelet/bubbletea?tab=readme-ov-file#bubble-tea-in-the-wild
If possible, you can try installing other programs with borders to see if you have the same problem. :)
Thanks you so much!
from superfile.
Related Issues (20)
- Improve cd_on_quit
- Reset search after navigating to folder HOT 2
- Show images on capable terminals HOT 1
- File icon fail to display HOT 2
- shortcut to copy path to currently selected file
- Support MTP HOT 1
- Vertical section line breaks when file/folder has korean characters. HOT 8
- Add option to change default directory HOT 2
- UI is broken HOT 1
- Rendering error on Windows PowerShell HOT 1
- An option to display the filesize in decimal or binary sizes HOT 1
- V1.1.3 release doesn't have linux amd64 package. HOT 2
- Selection should start on currently positioned/pointed item HOT 1
- Use left/right arrows to cd .. or into selected dir HOT 1
- Action menu on selected/pointed files/folders HOT 3
- Pixelated images previews. HOT 1
- Index out of range error causes Panic with example Vim bindings HOT 10
- File preview breaks superfile display HOT 2
- Search returns incorrect results HOT 2
- Select down does not seem to work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superfile.