add: Exec, program.ReleaseTerminal and RestoreTerminal to re-use input and terminal #237
Played around with this for a few minutes this morning and found an issue. I haven't had time to dig into this yet but figured I'd raise it here in case this is going to be merged imminently -- I saw some activity on it yesterday.
I'm running a program that is normally terminated by
I followed this only enough to know that it's not hitting the update function's handling of a
…rminal ReleaseTerminal makes BubbleTea release the input / terminal, so users can spawn a sub-command. RestoreTerminal sets the input reader up again and triggers a repaint.
* feat: allow to execute other things besides exec.Commands. * fix: lint issues * fix: renames, examples Signed-off-by: Carlos A Becker <firstname.lastname@example.org>
What do you think? Does it make sense? Is that something that you could easily wrap onto this PR (if blunt asking is allowed 😄)?