Comments (8)
Disable Ambiguous Characters are Double Width
and try setting export RUNEWIDTH_EASTASIAN=0
environment variable before running.
from bubble-table.
from bubble-table.
charmbracelet/lipgloss#40 also may be related
from bubble-table.
That looks very wrong, yes :(
I've tested this on the Alacritty and iTerm2 terminals, and I tried it with the Menlo, Input, and Azeret Mono fonts. I have not seen output like your screenshot. What terminal/font are you using?
from bubble-table.
Mac, iterm2 Build 3.4.15,
I tried several monospace fonts, and can't get the aligned version as yours in README.
from bubble-table.
I was able to reproduce this: it's the Ambiguous characters are double-width
option. Disabling that shows the proper layout.
I think it's the ─
character in particular. There may be some other unicode characters that would work better here, but that character set was intended for box drawing so if this is broken then I'm not optimistic others will work. I'll experiment more with this when I get some time.
from bubble-table.
Do you mind if I rename this bug to Default borders misalign when using double width for ambiguous characters
for clarity?
from bubble-table.
mattn/go-runewidth#14 may be related
from bubble-table.
Related Issues (20)
- Support mouse hover and mouse click event
- Option to Turn Off Page Wrapping HOT 1
- Support independent styling for column data vs column headers HOT 1
- feat: method to expand to fill height tea.WithAltScreen() HOT 5
- feat: custom filter text HOT 13
- Filter text cursor resets base style such as color
- artifacts on terminal resize HOT 8
- How to find out if filter input is currently active? HOT 2
- align
- How can I format numbers in a sortable column? HOT 3
- Flexible max number of rows based on size of the terminal HOT 8
- Columns seem to ignore lipgloss padding HOT 7
- Filtering doesn't work on non-stringer values
- performance of filtering a large table HOT 13
- redraw after filtering HOT 3
- Deselect all rows programatically
- Row select method docs are misleading
- Test failure: Test3xWithFilterFooter HOT 4
- Dynamically adding rows to table HOT 3
- Private fields and no getters for table.Column HOT 5
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 bubble-table.