MoaidHathot / Dumpify

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

Support for positioning the lable at the top of output #18

Open rorourke-iot opened 8 months ago

rorourke-iot commented 8 months ago

In the same way LINQPad will put it's label at the beginning of Dump output.

¦ Heading
¦ ╭───────────────╮
¦ │ "Output Data" │
¦ ╰───────────────╯
MoaidHathot commented 8 months ago

Hi @rorourke-iot, I'll see what I can do. Maybe I can expose configuration for setting the style of labels.

rorourke-iot commented 8 months ago

I stepped through the code looking for where the caption is written out. I got as far as console.Write(_renderable); in SpectreConsoleRenderedObject:Output where it became a black box.