sjmikler / progress-table

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

[FEATURE] Modify existing header #14

Closed sjmikler closed 6 months ago

sjmikler commented 8 months ago

Whenever filling cells when header was not yet printed, they won't be displayed.

This is because the header can be changed (new columns can be added).

This should be overcome by modifying the existing header. New values should be displayed and whenever a new column is added, header should be re-printed.

sjmikler commented 6 months ago

This was added in #24.

Works with interactivity set to 2 (the default). Other interactive modes will not modify the headers, as they intended to be used by environments where it is not possible.