From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 25 Nov 2020 05:15:13 +0000 (+0100)
Subject: Open in-terminal links in separate window.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/task?a=commitdiff_plain;h=50eac5d2c96ccbb36d87c43cf5eed0ed023b9d7d;p=plomrogue2

Open in-terminal links in separate window.
---

diff --git a/rogue_chat.html b/rogue_chat.html
index 49fdda0..a8b6ba7 100644
--- a/rogue_chat.html
+++ b/rogue_chat.html
@@ -253,7 +253,7 @@ let terminal = {
               let start_x = 0;
               for (let span of tui.links[y]) {
                   chunks.push(escapeHTML(line.slice(start_x, span[0])));
-                  chunks.push('<a href="');
+                  chunks.push('<a target="_blank" href="');
                   chunks.push(escapeHTML(span[2]));
                   chunks.push('">');
                   chunks.push(escapeHTML(line.slice(span[0], span[1])));