Trigger detach events.
commit586da1f353a5ace7ddbcaba451afccb54cfbdb4c
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Thu, 11 Jun 2009 16:33:06 +0000 (11 12:33 -0400)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Thu, 11 Jun 2009 16:33:06 +0000 (11 12:33 -0400)
treed011b3fdfb774e8157f44c26001453cca91970d8
parentc20352b903b29d119567d1bf646b45b052dba889
Trigger detach events.

For detach-events, it's not enough to just listen to 'detach'
command, since this command is not used for remote detaches. So
scripts looking to do something on a detach event need to hook to
this event, instead of hooking to 'cmdexecuted' event and looking
for 'detach' command.
src/lua.c
src/process.c
src/screen.c
src/script.c