• exec/load/attr_option.js

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Thu Nov 19 18:52:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/279734b20938253b72e2b8ff
    Added Files:
    exec/load/attr_option.js exec/tests/attr_option/lib.js
    Modified Files:
    ctrl/modopts.ini docs/v322_new.md exec/load/shell_lib.js exec/scancfg.js text_sec.js xtrn_sec.js
    Log Message:
    Color options as attribute letters; "lightbar" renamed "highlight_line"

    The selected_item_attr options of [shell], [xtrn_sec], [text_sec] and
    [scancfg] in modopts.ini are now attribute letters, as in attr.ini (e.g. V,
    or K7 for a reverse-video bar), rather than Ctrl-A codes (which still
    work): easier to write in a hand-edited file, with no string literal,
    escapes or attribute sequencing. The new load/attr_option.js converts them (attr_option(), attr_options()).

    The xtrn_sec and scancfg "lightbar" option, which highlights the whole
    selected item, is renamed "highlight_line", apart from List Files' new "lightbar" style. These options weren't in a release yet.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>