drop ESCAPE_CSR #2035

This commit is contained in:
nick black 2021-08-17 22:27:36 -04:00
parent 89622ed1a1
commit e97039f42a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
3 changed files with 2 additions and 7 deletions

View File

@ -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, "u7", get_escape(ti, ESCAPE_U7));
tinfo_debug_cap(n, "ccc", ti->caps.can_change_colors); tinfo_debug_cap(n, "ccc", ti->caps.can_change_colors);
tinfo_debug_cap(n, "rgb", ti->caps.rgb); tinfo_debug_cap(n, "rgb", ti->caps.rgb);
tinfo_debug_cap(n, "csr", get_escape(ti, ESCAPE_CSR));
finish_line(n); finish_line(n);
ncplane_putstr(n, indent); ncplane_putstr(n, indent);
tinfo_debug_cap(n, "utf8", ti->caps.utf8); tinfo_debug_cap(n, "utf8", ti->caps.utf8);

View File

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

View File

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