gizak / termui

Golang terminal dashboard
MIT License
13.11k stars 786 forks source link

Printing output without loop for non-interactive contexts #175

Closed ljfranklin closed 5 years ago

ljfranklin commented 6 years ago

Hi all,

I'm looking to build a CLI for use in a CI pipeline. Is there a way to have termui print its output to the screen without a loop and not clear the output on exit? I'm new to fancy terminal UI apps so apologies if I'm missing something obvious.

ljfranklin commented 6 years ago

To rephrase, is it possible for termui to operate in non-full screen mode?

cjbassi commented 5 years ago

Hmm, unfortunately I don't think so. I'm actually not too familiar with the underlying mechanics of terminal drawing in general, but at least with termbox-go, I don't think it's possible.