https://gitlab.synchro.net/main/sbbs/-/commit/43370cc1a33ae299156a043e
Modified Files:
exec/load/cterm_lib.js
Log Message:
Add method: query_ctda() - Query CTerm Device Attributes
Returns an array of attributes (digits), if valid response
Now 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 supported
Other dynamic terminal capabilities (e.g. depdendant on the output mode that SyncTERM is run in) can be detected with this method. But note: the values returned in SyncTERM's CTDA query-response do not exaclty match the values documented in cterm.txt. So use the constants from cterm_lib.js instead.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net