tui: improve support for GNU Screen (#12098)

Wrapping it in DCS allows the following features to work with GNU
Screen.

- Changing the cursor style.
- bracketed paste.
- focus reporting.
This commit is contained in:
erw7
2020-04-26 22:15:47 +09:00
committed by GitHub
parent 3de9452abf
commit f3ffe0b325
2 changed files with 106 additions and 43 deletions

View File

@@ -31,7 +31,9 @@
#define CSI 0x9b // Control Sequence Introducer
#define CSI_STR "\233"
#define DCS 0x90 // Device Control String
#define DCS_STR "\033P"
#define STERM 0x9c // String Terminator
#define STERM_STR "\033\\"
#define POUND 0xA3