bash
(and the readline
library) does not handle mouse events.
As far as I know, Mac OS's Terminal.app works it around by emitting a certain amount of Left or Right keypresses upon such an Alt + mouse click, according to the location of the cursor vs. the location of the click. I don't know how Terminal.app detects whether it's safe to do so, and I'm afraid it makes a lot of false positives in other apps (when it sends tons of arrow keypresses that don't make sense in the given context).
My best recommendation is to get used to Ctrl + Left or Right which move the cursor word by word.