开发者

Create two separate windows in terminal

开发者 https://www.devze.com 2022-12-26 16:24 出处:网络
Picture a terminal. There are two windows inside that terminal. One on top, one on bottom. The top one is much bigger. The top one receives asynchronous updates. The bottom one is for user input.

Picture a terminal. There are two windows inside that terminal. One on top, one on bottom. The top one is much bigger. The top one receives asynchronous updates. The bottom one is for user input.

It would work almost exactly the same as vim - th开发者_Go百科e text editor.

I'm writing this in Python. I'm guessing you would do this by using curses, but I'm not sure if it's possible.


Yes, you want the python standard library implementation of ncurses for this.


http://docs.python.org/library/curses.html

Yes, curses + some code that will do parallel stuff

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号