Behind the Curtain of Inline Terminal Applications
Textual recently added the ability to run inline terminal apps. You can see this in action if you run the calculator example:
The application appears directly under the prompt, rather than occupying the full height of the screen—which is more typical of TUI applications. You can interact with this calculator using keys or the mouse. When you press Ctrl+C the calculator disappears and returns you to the prompt.
Here's another app that creates an inline code editor:
This post will cover some of what goes on under the hood to make such inline apps work.
It's not going to go in to too much detail. I'm assuming most readers will be more interested in a birds-eye view rather than all the gory details.