csi: add support for DECNKM private mode

This is equivalent to DECKPAM/DECKPNM when enabled/disabled, but can
also be saved/restored/queried with XTSAVE/XTRESTORE/DECRQM.

See also:

* https://vt100.net/docs/vt510-rm/DECNKM.html
* https://vt100.net/docs/vt510-rm/DECKPAM.html
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-PC-Style-Function-Keys
This commit is contained in:
Craig Barnes 2022-03-19 13:14:54 +00:00
parent a1287220ab
commit 8d4d22218e
4 changed files with 17 additions and 0 deletions

View file

@ -393,6 +393,7 @@ struct terminal {
struct {
bool origin:1;
bool application_cursor_keys:1;
bool application_keypad_keys:1;
bool reverse:1;
bool show_cursor:1;
bool reverse_wrap:1;