home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split LOGIN into NICK and LOGIN.
[plomrogue2]
/
rogue_chat_nocanvas_monochrome.html
diff --git
a/rogue_chat_nocanvas_monochrome.html
b/rogue_chat_nocanvas_monochrome.html
index ab3ce34b1a65df612a176204f24f0dc09823f1fa..c01f7ab6a4d2c9676c674790f84c71543153529c 100644
(file)
--- a/
rogue_chat_nocanvas_monochrome.html
+++ b/
rogue_chat_nocanvas_monochrome.html
@@
-31,7
+31,7
@@
annotate portal (from study mode): <input id="key_switch_to_portal" type="text"
</div>
<script>
"use strict";
</div>
<script>
"use strict";
-let websocket_location = "ws
://localhost:8000
";
+let websocket_location = "ws
s://plomlompom.com/rogue_chat/
";
let rows_selector = document.getElementById("n_rows");
let cols_selector = document.getElementById("n_cols");
let rows_selector = document.getElementById("n_rows");
let cols_selector = document.getElementById("n_cols");
@@
-716,9
+716,9
@@
tui.inputEl.addEventListener('keydown', (event) => {
tui.log_help();
} else if (tokens[0].slice(1) == 'nick') {
if (tokens.length > 1) {
tui.log_help();
} else if (tokens[0].slice(1) == 'nick') {
if (tokens.length > 1) {
- server.send(['
LOGIN
', tokens[1]]);
+ server.send(['
NICK
', tokens[1]]);
} else {
} else {
- tui.log_msg('? need
login
name');
+ tui.log_msg('? need
new
name');
}
} else if (tokens[0].slice(1) == 'msg') {
if (tokens.length > 2) {
}
} else if (tokens[0].slice(1) == 'msg') {
if (tokens.length > 2) {