https://gitlab.synchro.net/main/sbbs/-/commit/e1b29b83d902486d735addfb
Modified Files:
exec/load/select_item.js
Log Message:
select_item.js: don't scroll a full page when the prompt is answered
A list that fills the screen leaves its prompt on the bottom line, so
the newline printed after the echoed quit key, item number or Enter
scrolled the whole list up a line before whatever came next.
select_item() now reads all of its input with console.getkeys() in
K_NOCRLF mode and ends the prompt's line itself: with a newline as
before, or on the bottom line of the screen by clearing that line and
leaving the cursor at its start.
console.getnum() has no mode to suppress its newline, so it is no
longer used here: the area selection lists and uselect.js now get
their numbers, quit key and navigation keys from console.getkeys()
too, as text_sec.js's file list has since 4eb42d604b (2026-11-14).
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net