diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-05-03 21:26:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-05-03 21:26:49 +0000 |
commit | 9c102387aff079b513533e93bb2a8109ccc1492c (patch) | |
tree | 5dc78df7736efe7105b9e939af9959d9f9f9fd7e /src/term.c | |
parent | c05f93ffba24cd678b7f31b40e7b6f64ee12bf74 (diff) | |
download | vim-git-9c102387aff079b513533e93bb2a8109ccc1492c.tar.gz |
updated for version 7.0g02
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c index 99dc1b0c9..7597c93bd 100644 --- a/src/term.c +++ b/src/term.c @@ -4945,12 +4945,13 @@ check_termcode(max_offset, buf, buflen) * nothing). When 'cpoptions' does not contain 'B', a backslash can be used * instead of a CTRL-V. */ - char_u * -replace_termcodes(from, bufp, from_part, do_lt) + char_u * +replace_termcodes(from, bufp, from_part, do_lt, special) char_u *from; char_u **bufp; int from_part; int do_lt; /* also translate <lt> */ + int special; /* always accept <key> notation */ { int i; int slen; @@ -4963,7 +4964,7 @@ replace_termcodes(from, bufp, from_part, do_lt) char_u *result; /* buffer for resulting string */ do_backslash = (vim_strchr(p_cpo, CPO_BSLASH) == NULL); - do_special = (vim_strchr(p_cpo, CPO_SPECI) == NULL); + do_special = (vim_strchr(p_cpo, CPO_SPECI) == NULL) || special; do_key_code = (vim_strchr(p_cpo, CPO_KEYCODE) == NULL); /* |