Subj : fseditor.js: don't dereference line[l+1] after splice in unwrap_line To : GitLab note in main/sbbs From : Steven Philley Date : Sat Sep 12 2026 08:51:52 https://gitlab.synchro.net/main/sbbs/-/merge_requests/731#note_10347 Clarifying after Deuce’s IRC note: you do **not** type a 70-character word to create the kludge. Interactive setup: 1. 80-col window. 2. 2\. Type one unbroken word of **\~90+** characters so fseditor mid-word wraps → first line \~79 chars (kludged) + remainder on the next line. 3. 3\. CTRL-W once on that **first** (kludged) line, then any keystroke that triggers rewrap/unwrap. The “70-char + short last line” numbers in the harness are the **already-wrapped** in-memory state used to unit-test the crash after a large shrink (e.g. CTRL-W), not the characters you type to get the wrap in the first place. A word ≤79 never mid-word wraps; ≥80 is what creates `kludged`. --- SBBSecho 3.37-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .