text: add cmd_leftclick and cmd_rightclick options