summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-20 18:41:41 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-20 18:41:41 +0200
commitd863728913801c8fa6d633f6580edfcada533fd0 (patch)
treee2d6e12c3781ec51ffe97255ed51dcd428a9f5c9 /src/terminal.c
parenteaa3e0dae53acc9a345f430ef014d65c105192c3 (diff)
downloadvim-git-d863728913801c8fa6d633f6580edfcada533fd0.tar.gz
patch 8.2.0802: libvterm code lags behind the upstream versionv8.2.0802
Problem: Libvterm code lags behind the upstream version. Solution: Include revisions 759 - 762.
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 1fdad2aee..c41b2f100 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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;
}