Answer the question
In order to leave comments, you need to log in
How to redirect /dev/tty console to (TUI) script written in python + urwid?
There is a script in python + urwid, nothing serious, a small two-level menu with the output of some information.
Displaying the work of the script in the console is not difficult, ./script.py > /dev/tty1
but I would like to not only display it there, but to fully manage it, navigate through the menu items, and so on.
Please tell me in which direction to dig and is it possible to implement this at all?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question