Show "Connection Closed" message as overlay

Closes #7.
This commit is contained in:
Iwasaki Yudai 2015-08-17 21:41:41 -07:00
parent 69fa3456b2
commit a09b060216
2 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@
}
ws.onclose = function(event) {
term.io.print("Connection closed.");
term.io.showOverlay("Connection Closed", null);
term.uninstallKeyboard();
}
})()