diff --git a/src/info/main.c b/src/info/main.c index 00f6292b8..dab87e4bd 100644 --- a/src/info/main.c +++ b/src/info/main.c @@ -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); diff --git a/src/lib/termdesc.c b/src/lib/termdesc.c index cdc5a56ba..7e213a1bb 100644 --- a/src/lib/termdesc.c +++ b/src/lib/termdesc.c @@ -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){ diff --git a/src/lib/termdesc.h b/src/lib/termdesc.h index 7833f1783..20fd37435 100644 --- a/src/lib/termdesc.h +++ b/src/lib/termdesc.h @@ -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