-
Notifications
You must be signed in to change notification settings - Fork 34
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
Enable tables to carry a title #160
Comments
I like that! Should also be fairly easy to implement as the last step before the rendered table is returned :) |
A few things must be done for this to be implemented properly:
Most of this logic can probably be re-used from the Should we re-use the |
Yay, I'm glad you like it!
That seems reasonable to me. It essentially is one big cell, so that doesn't seem like a bad starting point.
This would be nice to have, yes. At least for my use case I don't think we will immediately need it, but I could see us using this. |
If you got some spare time, feel free to start tackling this one :) Otherwise I might get to it eventually (I hope :D), should be a fun task. |
I probably won't get around to taking a stab at this myself for a while, so please don't let me hold you back from implementing something fun ^^ |
A detailed description of the feature you would like to see added.
I was looking to implement bytecodealliance/wasm-tools#1923 using
comfy-table
to get a duf-like output, but it doesn't seemcomfy-table
is able to set titles. It would be neat if it could though.Explain your usecase of the requested feature
When printing many tables in a row, being able to render a title adds some visual rhythm, making it easier to scan for the section you're looking for.
Alternatives
No response
Additional context
This is the output I'm trying to create:
The text was updated successfully, but these errors were encountered: