aboutsummaryrefslogtreecommitdiff
path: root/html/tty.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/tty.html')
-rw-r--r--html/tty.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/html/tty.html b/html/tty.html
index 34b6be7..59ed435 100644
--- a/html/tty.html
+++ b/html/tty.html
@@ -63,16 +63,20 @@
, { name: ".secret", perms: { r: true }, dir: true, content: [{ name: "readme", perms: { r: true }, dir: false, content: "still working on things:) nothing here is final\n or even close" }] }
]
+ let aaa = new jssh(fs, working_dir, 0)
+ function main() {
+ aaa.main()
+ }
</script>
</head>
-<body onload="jssh.main()">
+<body onload="main()">
<div id="history">
</div>
- <form autocomplete="off" onsubmit="jssh.ex();return false;">
+ <form autocomplete="off" onsubmit="aaa.ex();return false;">
λ <input id="line" style="width:95%;" onblur="this.focus()" autofocus>
<input type="submit" style="display: none" />
</form>