https://gitlab.synchro.net/main/sbbs/-/commit/19e6873e9725a6015bac5360
Modified Files:
exec/load/syncretro_lib.js syncretro_lobby.js xtrn/syncarcade/syncretro.ini xtrn/syncivision/syncretro.ini xtrn/syncivision/tests/test_syncretro_lobby.js xtrn/syncnes/syncretro.ini
Log Message:
syncretro: optional selection bar in the lobby, and a boolean Find
New [lobby] selected_attr option (Ctrl-A codes) in syncretro.ini gives
the cartridge list a selection bar: the selected entry's title is drawn
in those colors, the arrow keys move the bar (Up/Down through the list
and on to the next page, Left/Right between the columns of a page), N/P
and PgDn/PgUp carry it to the next or previous page, Home/End go to the
ends of the list and Enter plays the entry under it. A move within a
page repaints two cells rather than the page. A cartridge played by
number is where the bar then is.
Without the option nothing changes: there is no selected entry and
Enter still turns the page.
Find still filters the list, but its term is now a boolean search
expression (AND/OR/NOT, parentheses, phrases, quoted whole words)
matched against the title, where the BBS has bool_search(); a plain
substring otherwise. A syntax error is reported with the new [text]
bad_search string and leaves the list as it was. The input is 60
characters rather than 30.
syncretro_cell() takes an optional attribute for the padded title.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net