diff options
author | Johan Mattsson <39247600+mjunix@users.noreply.github.com> | 2023-02-23 12:46:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-23 12:46:04 +0000 |
commit | 3451789f58b24d48fc97301a01a8d27bd154caf5 (patch) | |
tree | b4fc05825cf12b064fbdd9519117ef08c95c90c8 | |
parent | 3e2d5385edcdaa4a09e76081e8d309d8f8c9a58a (diff) | |
download | vim-git-3451789f58b24d48fc97301a01a8d27bd154caf5.tar.gz |
patch 9.0.1343: check for OSC escape sequence doesn't workv9.0.1343
Problem: Check for OSC escape sequence doesn't work.
Solution: Move square bracket to the right place. (Johan Mattsson,
closes #12048)
-rw-r--r-- | src/term.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 18500a3d3..ab1ad570e 100644 --- a/src/term.c +++ b/src/term.c @@ -5716,7 +5716,7 @@ handle_osc(char_u *tp, char_u *argp, int len, char_u *key_name, int *slen) if (i - j >= 15 && STRNCMP(tp + j + 3, "rgb:", 4) == 0 && (is_4digit - || (tp[j + 9] == '/' && tp[i + 12 == '/']))) + || (tp[j + 9] == '/' && tp[i + 12] == '/'))) { char_u *tp_r = tp + j + 7; char_u *tp_g = tp + j + (is_4digit ? 12 : 10); diff --git a/src/version.c b/src/version.c index 81086a422..caa030553 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1343, +/**/ 1342, /**/ 1341, |