drop ESCAPE_CSR #2035

pull/2083/head
nick black 3 years ago
parent 89622ed1a1
commit e97039f42a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -399,7 +399,6 @@ tinfo_debug_styles(const notcurses* nc, struct ncplane* n, const char* indent){
tinfo_debug_cap(n, "u7", get_escape(ti, ESCAPE_U7));
tinfo_debug_cap(n, "ccc", ti->caps.can_change_colors);
tinfo_debug_cap(n, "rgb", ti->caps.rgb);
tinfo_debug_cap(n, "csr", get_escape(ti, ESCAPE_CSR));
finish_line(n);
ncplane_putstr(n, indent);
tinfo_debug_cap(n, "utf8", ti->caps.utf8);

@ -748,8 +748,7 @@ int interrogate_terminfo(tinfo* ti, const char* termtype, FILE* out, unsigned ut
{ ESCAPE_CUU, "cuu", },
{ ESCAPE_CUF, "cuf", },
{ ESCAPE_CUB, "cub", },
{ ESCAPE_INITC, "initc", },
{ ESCAPE_GETM, "getm", },
{ ESCAPE_U7, "u7", },
{ ESCAPE_SMKX, "smkx", },
{ ESCAPE_SMXX, "smxx", },
{ ESCAPE_RMXX, "rmxx", },
@ -760,10 +759,9 @@ int interrogate_terminfo(tinfo* ti, const char* termtype, FILE* out, unsigned ut
{ ESCAPE_IND, "ind", },
{ ESCAPE_INDN, "indn", },
{ ESCAPE_CLEAR, "clear", },
{ ESCAPE_CSR, "csr", },
{ ESCAPE_OC, "oc", },
{ ESCAPE_RMKX, "rmkx", },
{ ESCAPE_U7, "u7", },
{ ESCAPE_INITC, "initc", },
{ ESCAPE_MAX, NULL, },
};
for(typeof(*strtdescs)* strtdesc = strtdescs ; strtdesc->esc < ESCAPE_MAX ; ++strtdesc){

@ -66,9 +66,7 @@ typedef enum {
ESCAPE_RC, // "rc" pop the cursor off the stack
ESCAPE_CLEAR, // "clear" clear screen and home cursor
ESCAPE_INITC, // "initc" set up palette entry
ESCAPE_GETM, // "getm" get mouse events
ESCAPE_U7, // "u7" cursor position report
ESCAPE_CSR, // "csr" change scroll region
// Application synchronized updates, not present in terminfo
// (https://gitlab.com/gnachman/iterm2/-/wikis/synchronized-updates-spec)
ESCAPE_BSUM, // Begin Synchronized Update Mode

Loading…
Cancel
Save