From: Christian Heller Date: Mon, 2 Nov 2020 04:07:46 +0000 (+0100) Subject: Use terminal-size-indepenent max log length. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/process_titles?a=commitdiff_plain;h=9f4d671ee2c3813a6d437af361ac8d61624d8faa;p=plomrogue2-experiments Use terminal-size-indepenent max log length. --- diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index a4aa85d..92ac22a 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -350,7 +350,7 @@ let tui = { }, log_msg: function(msg) { this.log.push(msg); - while (this.log.length > terminal.rows * 4) { + while (this.log.length > 100) { this.log.shift(); }; this.full_refresh();