• exec/load/cterm_lib.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Apr 1 09:53:28 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/43370cc1a33ae299156a043e
    Modified Files:
    exec/load/cterm_lib.js
    Log Message:
    Add method: query_ctda() - Query CTerm Device AttributesReturns an array of attributes (digits), if valid responseNow Nightfox, you can query SyncTERM (only) to see if it supports Pixel ops(e.g. Sixel) is supported at the moment, using: cterm_lib.query_ctda(cterm_lib.cterm_device_attributes.pixelops_supported)- will return true if pixel operations are supportedOther dynamic terminal capabilities (e.g. depdendant on the output mode thatSyncTERM is run in) can be detected with this method. But note: the valuesreturned in SyncTERM's CTDA query-response do not exaclty match the valuesdocumented in cterm.txt. So use the constants from cterm_lib.js instead.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)