Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197175

Re: Tools to help with text mode (i.e. non-GUI) input

From Alan Gauld <learn2program@gmail.com>
Newsgroups comp.lang.python
Subject Re: Tools to help with text mode (i.e. non-GUI) input
Date 2025-01-14 08:56 +0000
Message-ID <mailman.70.1736844978.2912.python-list@python.org> (permalink)
References <2113dab2-59ba-408e-b34a-78722d525f8c@yahoo.co.uk> <3ab7002b-689d-4609-96d7-bb388513f227@yahoo.co.uk> <4YX8tK2xv4znb1c@mail.python.org> <0c3821d3-78c1-45c0-81da-81f9fb4c4f02@yahoo.co.uk>

Show all headers | View raw


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.

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).

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos

Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

Re: Tools to help with text mode (i.e. non-GUI) input Alan Gauld <learn2program@gmail.com> - 2025-01-14 08:56 +0000
  Re: Tools to help with text mode (i.e. non-GUI) input Chris Green <cl@isbd.net> - 2025-01-14 09:15 +0000
    Re: Tools to help with text mode (i.e. non-GUI) input Grant Edwards <grant.b.edwards@gmail.com> - 2025-01-14 19:54 -0500
    Re: Tools to help with text mode (i.e. non-GUI) input Alan Gauld <learn2program@gmail.com> - 2025-01-16 01:06 +0000

csiph-web