home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve teleportation handling.
[plomrogue2-experiments]
/
new2
/
rogue_chat.html
diff --git
a/new2/rogue_chat.html
b/new2/rogue_chat.html
index f584ddd3108ccecbbb035047a5d9245a3984456f..37eb27a426c53bdc893d118dff6432aaa3c6a56f 100644
(file)
--- a/
new2/rogue_chat.html
+++ b/
new2/rogue_chat.html
@@
-147,8
+147,7
@@
let tui = {
chunk += msg[i];
}
chat.history.unshift(' '.repeat(indent) + chunk);
chunk += msg[i];
}
chat.history.unshift(' '.repeat(indent) + chunk);
- if (chat.history.length > terminal.rows - 2) {
-
+ while (chat.history.length > terminal.rows - 2) {
chat.history.pop();
};
this.draw_history();
chat.history.pop();
};
this.draw_history();