libghostty
Loading...
Searching...
No Matches
GhosttyDeviceAttributesSecondary Struct Reference

#include <ghostty/vt/device.h>

Data Fields

uint16_t device_type
uint16_t firmware_version
uint16_t rom_cartridge

Detailed Description

Secondary device attributes (DA2) response data.

Returned as part of GhosttyDeviceAttributes in response to a CSI > c query. Response format: CSI > Pp ; Pv ; Pc c

Definition at line 108 of file device.h.

Field Documentation

◆ device_type

uint16_t device_type

Terminal type identifier (Pp). E.g. 1 for VT220.

Definition at line 110 of file device.h.

◆ firmware_version

uint16_t firmware_version

Firmware/patch version number (Pv).

Definition at line 113 of file device.h.

◆ rom_cartridge

uint16_t rom_cartridge

ROM cartridge registration number (Pc). Always 0 for emulators.

Definition at line 116 of file device.h.


The documentation for this struct was generated from the following file: