Skip to content
  • Rob Swindell's avatar
    43370cc1
    Add method: query_ctda() - Query CTerm Device Attributes · 43370cc1
    Rob Swindell authored
    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.
    43370cc1
    Add method: query_ctda() - Query CTerm Device Attributes
    Rob Swindell authored
    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.
Loading