WOW. I found something cool.
If I run $ printf '\e[?1000h'
in Terminal.app
, cursor
events are sent to the program in some format that indicates
scrolling, clicking and mouse location but I’m not exactly
sure how this format works.
I think the details are explained here: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking
I think I’ll get back to this tomorrow though. At least I made some progress.
And bread is done I think! :)