1
0
forked from aniani/vim

patch 8.0.1639: libvterm code lags behind master

Problem:    Libvterm code lags behind master.
Solution:   Sync to head, solve merge problems.
This commit is contained in:
Bram Moolenaar
2018-03-25 16:20:37 +02:00
parent e7499ddc33
commit b5b49a3b43
20 changed files with 391 additions and 263 deletions

View File

@@ -53,6 +53,7 @@ static char *helptext[] = {
"curblink [off|on|query]",
"curshape [block|under|bar|query]",
"mouse [off|click|clickdrag|motion]",
"reportfocus [off|on|query]",
"altscreen [off|on|query]",
"bracketpaste [off|on|query]",
"icontitle [STR]",
@@ -81,9 +82,9 @@ static int seticanon(int icanon, int echo)
return ret;
}
static void await_c1(int c1)
static void await_c1(unsigned char c1)
{
int c;
unsigned char c;
/* await CSI - 8bit or 2byte 7bit form */
int in_esc = FALSE;
@@ -340,6 +341,9 @@ int main(int argc, char *argv[])
printf("\x1b[?1003h"); break;
}
}
else if(streq(arg, "reportfocus")) {
do_dec_mode(1004, getboolq(&argi, argc, argv), "reportfocus");
}
else if(streq(arg, "altscreen")) {
do_dec_mode(1049, getboolq(&argi, argc, argv), "altscreen");
}