@nightgrey/ansi
    Preparing search index...

    Function primaryDeviceAttributes

    • Primary Device Attributes (DA1) is a control sequence that reports the terminal's primary device attributes.

      CSI c
      CSI 0 c
      CSI ? Ps ; ... c

      If no attributes are given, or if the attribute is 0, this function returns the request sequence. Otherwise, it returns the response sequence.

      Common attributes include:

      • 1 132 columns
      • 2 Printer port
      • 4 Sixel
      • 6 Selective erase
      • 7 Soft character set (DRCS)
      • 8 User-defined keys (UDKs)
      • 9 National replacement character sets (NRCS) (International terminal only)
      • 12 Yugoslavian (SCS)
      • 15 Technical character set
      • 18 Windowing capability
      • 21 Horizontal scrolling
      • 23 Greek
      • 24 Turkish
      • 42 ISO Latin-2 character set
      • 44 PCTerm
      • 45 Soft key map
      • 46 ASCII emulation

      Parameters

      • ...attrs: number[]

      Returns string