https://gitlab.synchro.net/main/sbbs/-/commit/bdb36a0dea4ec77f44dd01bc
Modified Files:
docs/v322_new.md exec/load/menubar.js select_item.js
Log Message:
select_item.js, menubar.js: Backspace, Left and Right arrow keys
In the lists of select_item.js (area selection, uselect.js, text_sec.js, xtrn_sec.js, scancfg.js), Backspace now leaves the list as the quit key
does. In a single-column list so does the Left arrow key, and the Right
arrow key chooses the default item, as Enter does. In a multi-column
list those two keys still move between the columns. A key that's one of
the caller's own command keys is still returned to the caller.
MenuBar.move() now returns whether there was an item to move to, and MenuBar.handle() uses that for the Left and Right arrow keys of a menu
whose items are all in one column: Right returns the current item's
command (as Enter does) and Left is returned unchanged, which
select_item.js takes as the quit key for a menu file displayed in place
of one of its lists.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)