I'm working on a chat program in Python and would like to add some user friendly interface to my client. The fact is that I gave myself the challenge of using only terminal.
So I found the urwid
module to work with, which is cross-platform and well-documented online.
After reading the manual and watching the tutorial of the module I didn't really know how to write this interface but I acquired some knowledge about the theory (Widgets, different types of object, how is the screen partitioned...)
So I ended up finding some pieces of code on stackoverflow or github, I found a listBox
example which will really help me for the logs-keeping part of the screen.
Now I need to create a permanent input area on the bottom to take input from the user. I did not find any code or discussion on how to do this. How can I create a permanent input area at the bottom to accept input from the user?
Any links or examples of code will be appreciated! :)
Thanks everybody, Elliot