comfy-table
comfy-table copied to clipboard
:large_orange_diamond: Build beautiful terminal tables with automatic content wrapping
#### Describe the bug The table renders with the width calculated correctly, as far as I can tell, but all the cells are empty. I only see this on Windows...
I wanted to use `comfy-table` with cells that contain ANSI escape characters, generated with the `colored` crate. However, when calculating the width of a cell, the ANSI escape characters were...
I'm honestly impressed by `comfy-table`, and it handled a multiline string like a champ. What I would like to ask is for the ability to set vertical alignment (perhaps through...
This is a follow-up issue to #44. By default, if there's not enough space and dynamic mode is active, comfy-table falls back to a column with minimum-width of `1`. However,...
Recently i needed to remove border line and use custom column separator but I couldn't find any similar one except `set_delimter` which fetches different result that looks like parsing a...
### A detailed description of the feature you would like to see added. Instead of: ```rust table.add_row([ Cell::new(special_value), Cell::new("normal string"), Cell::new(something_else) ]) ``` Have: ```rust table.add_row(row![ special_value, "normal string", something_else...
### A detailed description of the feature you would like to see added. Currently, it can only add rows and columns to the back of the table. I would like...
### A detailed description of the feature you would like to see added. I'd like to be able to control when horizontal lines are drawn, so that I can visually...
This PR adds the following methods: - `add_column` - `add_column_if` - `add_columns` - `add_columns_if` Their use is documented via doc comments.
The current column handling is rather convenient, as columns get populated as rows and cells are added to the table. However, this logic is rather implicit. There's no way to...