select with mouse mac terminal

C++
Just keep pressed "ALT" and then select position with a click ;)
Source

Also in C++: