Skip to content

Commit

Permalink
Show "Connection Closed" message as overlay
Browse files Browse the repository at this point in the history
Closes #7.
  • Loading branch information
yudai committed Aug 18, 2015
1 parent 69fa345 commit a09b060
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/resource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/gotty.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}

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

0 comments on commit a09b060

Please sign in to comment.