Hi,
Sorry for delay,
Unfortunately there are no events and I don't think it possible to make them.
All communication to and from shell is based on what characters do you send and different terminals can interpret character differently,
more then that, I recently added ability to specify terminal modes where you can configure what character means at that specific session.
Hope it could help.
Thanks,
Oleg