On Mon, Jul 27, 2020 at 09:13:29AM +0100, José Iván López González wrote: > On 7/24/20 10:14 PM, josef Reidinger wrote: > > 4. drag and drop in ncurses > > it should be possible as mouse support mouse down and also mouse > > up. See doc at > > https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/mouse.html > > BTW there is also quite nice quick intro to curses at > > https://www.2n.pl/blog/basics-of-curses-library-in-ruby-make-awesome-terminal-apps > > Working directly with curses gem does not look that hard.
I found the 2n.pl blog so sloppy ("BDS Unix") that I went to read
the Python curses tutorial instead :-D
https://docs.python.org/3/howto/curses.html
Then I thought I can do even better and summarize the key concepts
of the library. 310 words only, please read and comment:
https://github.com/libyui/libyui-ncurses/pull/96/files?short_path=4603534#diff-46035348def4aba43f00d8be65b31d8e
--
Martin Vidner, YaST Team
http://en.opensuse.org/User:Mvidner
signature.asc
Description: Digital signature
