https://gitlab.synchro.net/main/sbbs/-/commit/d24c7188639f42e1bb3e8769
Modified Files:
docs/v322_new.md exec/load/select_item.js
Log Message:
select_item.js: name the Find keys in the prompt; N and P page the list
Changes to the Find command of the select_item() lists (issue #1345):
- The keys are named in the list's own prompt rather than on a line
above it: "Find, " and, once there has been a search, "Next, Prev, "
are inserted ahead of the prompt's first command key (e.g. "Which,
Find, Quit, or [3]: "), and a prompt of the form "Which or Quit: "
becomes "Which, Find, or Quit: ". They are displayed as part of the
prompt's mnemonics, so 'F', 'N' and 'P' are its highlighted keys.
The gettext() strings (find_hint, find_slash_hint, find_next_hint)
use the @Find@, @Next@ and @Previous@ text.
- 'F' is the key named ('/' remains an alias, and is the one named only
where 'F' is the caller's own command key).
- 'N' and 'P' repeat a search only when one has been made in the list as
currently displayed. Otherwise, and in lists without Find, they page
the list as PgDn and PgUp do, unless they are the caller's own keys.
The previous expression is still the default of the next search.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net