Mercurial > vim
changeset 32025:9085421fe397 v9.0.1344
patch 9.0.1344: check for OSC escape sequence doesn't work
Commit: https://github.com/vim/vim/commit/a8f0835a6b5af5bf099dc9831bdc68edb8b69ba8
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 23 13:54:01 2023 +0000
patch 9.0.1344: check for OSC escape sequence doesn't work
Problem: Check for OSC escape sequence doesn't work.
Solution: Fix typo in index.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Feb 2023 15:00:04 +0100 |
parents | 398c6caaf114 |
children | f7f4dd3b2d13 |
files | src/term.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c +++ b/src/term.c @@ -5716,7 +5716,7 @@ handle_osc(char_u *tp, char_u *argp, int if (i - j >= 15 && STRNCMP(tp + j + 3, "rgb:", 4) == 0 && (is_4digit - || (tp[j + 9] == '/' && tp[i + 12] == '/'))) + || (tp[j + 9] == '/' && tp[j + 12] == '/'))) { char_u *tp_r = tp + j + 7; char_u *tp_g = tp + j + (is_4digit ? 12 : 10);