I\'d like to code a command line program that result in this UI:
------------ | | | A | |__________| |_____B____|
A is a se
Have a look at the /Demo/curses/ directory of the python source code. It lists several intersting examples using the curses module that you can learn all you need from, and some more.