From 9f4d671ee2c3813a6d437af361ac8d61624d8faa Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 2 Nov 2020 05:07:46 +0100
Subject: [PATCH] Use terminal-size-indepenent max log length.

---
 new2/rogue_chat_nocanvas_monochrome.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();
-- 
2.30.2