Sujet : Re: Tools to help with text mode (i.e. non-GUI) input
De : grant.b.edwards (at) *nospam* gmail.com (Grant Edwards)
Groupes : comp.lang.pythonDate : 14. Jan 2025, 15:21:41
Autres entêtes
Message-ID : <mailman.71.1736864503.2912.python-list@python.org>
References : 1 2 3 4 5
User-Agent : slrn/1.0.3 (Linux)
On 2025-01-14, Alan Gauld via Python-list <
python-list@python.org> wrote:
On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
On 2025-01-13, Alan Gauld via Python-list <python-list@python.org> wrote:
All of that is possible in curses, you just have to code it.
All of that is easy with curses in C. Unfortunately, the high level
"panel" and "menu" curses subystems that make it easy aren't included
in the Python curses API,
>
panel is included. Just import curses.panel.
Ah my bad, I meant "forms" and "menu" support was missing.
menu unfortunately isn't but it's not difficult to roll your own by
creating a window with a list of options, provided you don't try to
get too fancy(submenus etc).
Yea, it was "menu" and "forms" that I really wanted.
-- Grant