MoaidHathot / Dumpify

Adding `.Dump()` extension methods to Console Applications, similar to LinqPad's.
MIT License
959 stars 40 forks source link

feat: adds an option to write the dump as an expanded table #8

Closed tcortega closed 1 year ago

tcortega commented 1 year ago

Essentially solves issue #3 by allowing users to specify whether or not to disable column wrapping in the Table Config, and also specify whether or not to output an expanded table.

closes #3

MoaidHathot commented 1 year ago

Thanks @tcortega, great work :) Unfortunately, this change alone is not enough. #3 isn't fully resolved, and in some cases this change can produce a new bug when NoWrapping is enabled but there is not enough place to output the Table, therefore ... is outputted instead. In order for #3 to be resolved, we should use a custom IAnsiConsoleOutput and specify big enough Width/Height values, since the defaults are DefaultTerminalWidth which are very small (80 pixels).