sjmikler / progress-table

Display progress as a pretty table in the command line.
MIT License
90 stars 3 forks source link

[FEATURE] Support for multiline rows #12

Closed sjmikler closed 1 week ago

sjmikler commented 6 months ago

Most modern terminal support cursor movements well. After playing with nested progress bars I think we could support rows with multiple lines in progress-table.

Adding this functionality will require a minor rewrite of the library.

Going further, we could allow to modify previously finished cells.

Example API:

table = ProgressTable(
wrap=True, # enables wrapping lines that are overflowing instead of clipping (which is default)
)

...

# Editing existing column
row_number = 10
column_name = "test"
new_cell_value = "new value"
table[row_number, column_name] = new_cell_value
sjmikler commented 4 months ago

Modyfing previously finished cells is supported now. This will come next.

sjmikler commented 1 week ago

Not planning to work on this, unless there's a demand. If you'd like this feature implemented, please reopen.