This video tutorial teaches you how to create a modal dialog inside your terminal application or TUI.
Here is the Python code:
And here is the CSS file you will need to style the modal dialog correctly:
If you find this content interesting, you might want to check out my Textual book. It’s only 60% done, but it will teach you all you need to know to start creating your own text-based user interfaces (TUIs):
Share this post