https://gitlab.synchro.net/main/sbbs/-/commit/d56420230c5250eb4daf5e82
Modified Files:
exec/listfiles.js exec/load/listfiles_lib.js exec/tests/listfiles/lib.js
Log Message:
listfiles.js: count conditional newlines in extended descriptions
An extended description's screen lines were counted by its CR/LF line
breaks alone, but Ctrl-A conditional newlines (\x01/), as in imported
ANSI art, also break lines on the screen. The interactive mode then placed
its prompt above the end of such a description, which spilled past the
list and below the prompt. Conditional newlines now count as line breaks
when something visible is on the line before them, as displayed.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>