Skip to content

Commit a09b060

Browse files
committed
Show "Connection Closed" message as overlay
Closes #7.
1 parent 69fa345 commit a09b060

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/resource.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/gotty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646

4747
ws.onclose = function(event) {
48-
term.io.print("Connection closed.");
48+
term.io.showOverlay("Connection Closed", null);
4949
term.uninstallKeyboard();
5050
}
5151
})()

0 commit comments

Comments
 (0)