-
Notifications
You must be signed in to change notification settings - Fork 27
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
Cell with multi-line text does not work #93
Comments
This is currently by design, as there is no way to separate cells visually if they can span multiple lines. I'm cautiously open to the idea, but it will take some work to solve. |
I did some dirty cell wrapping in the bubble.Table charmbracelet/bubbles#433 but it does not respect words. I may do a POC with reflow usage - maybe something valuable will pop out |
The other issue here is that there's no way to tell that "The first table entry, ever" and "This is a really, really..." are separate rows. I'm not sure if that particular issue is solvable with this table setup by default. |
It will be more readable if the other cells in that row align to the top |
I have opened the PR #159 let's move future conversation there |
In the PR I successfully implemented that but it needs a review regarding the regression in the proposed logic. |
Released as v0.15.6, thanks to @prgres for the work here! It's been a while so I'll close this one myself, but feel free to reopen or create a new issue if there's more to do here. |
How to implement a cell with multi-line ?
when I added a new line in text like
some text\n some other text
, it appeared like thissome text...
The text was updated successfully, but these errors were encountered: