tui: improve support for tmux, GNU Screen

Wrapping it in DCS allows the get_bg features to work with tmux, GNU Screen.
This commit is contained in:
erw7
2021-03-11 00:24:33 +09:00
parent 300e71de9c
commit c266c2f36e
2 changed files with 18 additions and 6 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