Is there a way to create a separate display and input on the same terminal using curse?

前端 未结 3 870
闹比i
闹比i 2021-01-12 16:11

I\'d like to code a command line program that result in this UI:

------------
|          |
|     A    |
|__________|
|_____B____|

A is a se

3条回答
  •  醉酒成梦
    2021-01-12 16:44

    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.

提交回复
热议问题