{"draft":null,"from":74,"to":318,"files":[{"path":"worker/project/unseen.ts","added":5,"removed":4,"diff":"--- a/worker/project/unseen.ts\n+++ b/worker/project/unseen.ts\n@@ -1,5 +1,5 @@\n-// Characters a reader can't see, refused in text the engine keeps and prints\n-// (abso issue 276): version messages, starting notes, line notes and\n+// Characters a reader can't see, refused in text the engine keeps and prints:\n+// version messages, starting notes, line notes and\n // announcements. In a terminal, ESC and C1 start escape sequences that can\n // set the clipboard or draw a fake link, so `abso log` and news must never\n // carry them. The same list as the website's announcements and Issues.\n@@ -25,9 +25,10 @@\n  * \\n and \\t pass, and so does \\r before \\n, since a message file written on Windows ends its lines that way.\n  */\n export function unseenIn(text: string): string | null {\n-\tfor (const [i, ch] of [...text].entries()) {\n+\tconst chars = [...text];\n+\tfor (const [i, ch] of chars.entries()) {\n \t\tconst c = ch.codePointAt(0)!;\n-\t\tif (c === 0x0d && text[i + 1] === \"\\n\") continue;\n+\t\tif (c === 0x0d && chars[i + 1] === \"\\n\") continue;\n \t\tconst hit = UNSEEN.find(([lo, hi]) => c >= lo && c <= hi);\n \t\tif (hit) return `${hit[2]} at character ${i + 1}`;\n \t}"}],"unmatched":[]}