BBS:      TELESC.NET.BR
Assunto:  xtrn/termtest/termtest.js
De:       Deuc¨
Data:     Sun, 15 Mar 2026 22:51:38 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/b374321cedfaaadba5942c67
Modified Files:
	xtrn/termtest/termtest.js
Log Message:
Ignore terminal responses in fuzz loop abort check

When the fuzzer sends sequences that elicit terminal responses (e.g.
DSR variants like ESC[...n), the response bytes land in the input
buffer and get picked up by the abort-check console.inkey(), causing
the fuzzer to exit prematurely thinking the user pressed a key.

Now if the abort check reads ESC (0x1b), it recognizes this as a
terminal response rather than user input, drains the rest of the
sequence with a short timeout, and continues fuzzing. Only non-ESC
characters are treated as user abort.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]