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-termina...
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#di... -- Martin Vidner, YaST Team http://en.opensuse.org/User:Mvidner