jroimartin / gocui

Minimalist Go package aimed at creating Console User Interfaces.
BSD 3-Clause "New" or "Revised" License
9.92k stars 608 forks source link

Return to gocui interface after 3rd party program #146

Closed lesovsky closed 6 years ago

lesovsky commented 6 years ago

Hi, I have an issue and don't see obvious ways to solve it...

I have program based on gocui, it has keybinding with a function which generates text and sends it to the pager's stdin. But after closing the pager, all previous gocui interface becomes broken, but still working.

So how can I safely return to the gocui mode and continue the program?

Simplified example, here.

lesovsky commented 6 years ago

Solution here