mum4k / termdash

Terminal based dashboard.
Apache License 2.0
2.69k stars 133 forks source link

Is there any way to render charts without handing over the entire terminal? #375

Closed anderspitman closed 4 months ago

anderspitman commented 4 months ago

I'm trying to add a few charts to my app, but still allow normal stdout/stderr logs to be shown. Is this possible?

mum4k commented 4 months ago

Hi @anderspitman that currently isn't supported. Termdash is a library built on top of terminal driver libraries (tcell and termbox). I believe both of those only work with exclusivbe access to the full terminal. At least that is what used to be true, I did not explore the latest changes and feature set of tcell.

If you are interested in exploring this further, we would first have to figure out if tcell supports running on a portion of a terminal and then make the necessary changes in Termdash to utilize such mode.

anderspitman commented 4 months ago

That makes sense. Thanks!