https://gitlab.synchro.net/main/sbbs/-/commit/f51beda7f7b36abb449081d8
Modified Files:
xtrn/syncdoom/lobby.js lobby.msg xtrn/syncduke/lobby.js lobby.msg
Log Message:
syncduke/syncdoom: lightbar lobby menus
Mark the five menu items of each lobby.msg with @BAR codes and the
artists' selected-item colours (@BARATTR), and drive them with
load/menubar.js in both the static and the live-panel menu loops: the
arrow keys move the bar, Enter picks the highlighted item (it used to
redraw the menu; '?' still does) and the items are clickable.
The menus passed every control key through to the lobby so that the
BBS's Ctrl-key handlers couldn't draw over the art. That included ESC,
which left arrow-key and mouse-click sequences unparsed, the final 'M'
of a click report being read as the Multi-player key. Hand ESC back to
the BBS at the menus, as was already done for Ctrl-P.
Art without @BAR codes, or a Terminal Server that predates them, gets
the plain hot-key menu as before (though such a server displays the
codes in this lobby.msg as literal text).
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net