Rename connect event to term_detected, add connected and disconnected events

This commit is contained in:
Josh M. McKee 2017-06-10 18:46:28 -07:00
parent 5572ca5d24
commit c45824b3ad
3 changed files with 17 additions and 12 deletions

View file

@ -177,7 +177,7 @@ function connectEntry(client, nextMenu) {
displayBanner(term);
// fire event
events.emit('codes.l33t.enigma.system.connect', {'client': client});
events.emit('codes.l33t.enigma.system.term_detected', {'client': client});
setTimeout( () => {
return client.menuStack.goto(nextMenu);