A simple test program to try ncurses mouse events.
Run the build.sh
script, then run the compiled ncpaint
binary.
Drag with pressed left mouse button to draw and with pressed right mouse button to clear.
Press q
to quit.
Press any other key to draw with that character.