csi: primary DA: remove features we do not support

We do not implement

* Selective Erase
* Technical Character Set
* Terminal state interrogation
This commit is contained in:
Daniel Eklöf 2020-07-24 17:46:18 +02:00
parent 0c11542eca
commit cc60d3a670
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 13 additions and 1 deletions

View file

@ -13,6 +13,9 @@
## Unreleased ## Unreleased
### Added ### Added
### Changed ### Changed
* Primary DA to no longer indicate support for _Selective Erase_,
_Technical Characters_ and _Terminal State Interrogation_.
### Deprecated ### Deprecated
### Removed ### Removed
### Fixed ### Fixed

11
csi.c
View file

@ -373,8 +373,17 @@ csi_dispatch(struct terminal *term, uint8_t final)
* - 22 ANSI color, e.g., VT525. * - 22 ANSI color, e.g., VT525.
* - 28 Rectangular editing. * - 28 Rectangular editing.
* - 29 ANSI text locator (i.e., DEC Locator mode). * - 29 ANSI text locator (i.e., DEC Locator mode).
*
* Note: we report ourselves as a VT220, mainly to be able
* to pass parameters, to indiciate we support sixel, and
* ANSI colors.
*
* The VT level must be synchronized with the secondary DA
* response.
*
* Note: tertiary DA responds with "FOOT".
*/ */
const char *reply = "\033[?62;4;6;15;17;22c"; const char *reply = "\033[?62;4;22c";
term_to_slave(term, reply, strlen(reply)); term_to_slave(term, reply, strlen(reply));
break; break;
} }