1
0
forked from aniani/vim

patch 8.2.0802: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 759 - 762.
This commit is contained in:
Bram Moolenaar
2020-05-20 18:41:41 +02:00
parent eaa3e0dae5
commit d863728913
11 changed files with 90 additions and 17 deletions

View File

@@ -4321,14 +4321,11 @@ parse_csi(
return 1;
}
static VTermParserCallbacks parser_fallbacks = {
NULL, // text
static VTermStateFallbacks state_fallbacks = {
NULL, // control
NULL, // escape
parse_csi, // csi
parse_osc, // osc
NULL, // dcs
NULL // resize
NULL // dcs
};
/*
@@ -4411,7 +4408,7 @@ create_vterm(term_T *term, int rows, int cols)
value.boolean = 0;
#endif
vterm_state_set_termprop(state, VTERM_PROP_CURSORBLINK, &value);
vterm_state_set_unrecognised_fallbacks(state, &parser_fallbacks, term);
vterm_state_set_unrecognised_fallbacks(state, &state_fallbacks, term);
return OK;
}