Input inside a Panel(rich) #1980
-
Is it possible to accept input inside a panel For a bit of context I am trying to make a command line contact book for my school project and I want to provide an area for the user to type in contact details or up down arrow keys to move through the options however I'm facing a difficulty to replicate this. I also thought of dividing the screen into two layouts top for display and bottom for viewing what I'm typing but I can't figure out how to do that.. I am trying to do this while in a Live context manager Thanks in advance 😃 EDIT : I am thinking of integrating curses with rich for the input .... divide the screen into 2 windows and pass these windows to the rich renderer to render the output onto |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Rich has no support for getting input at the moment. But in theory if you add input you can implement what you describe. |
Beta Was this translation helpful? Give feedback.
Rich has no support for getting input at the moment. But in theory if you add input you can implement what you describe.