diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-28 22:39:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-28 22:39:57 +0000 |
commit | ebefac63f30ac038c0c35d7f1b9257483ec41812 (patch) | |
tree | 63e6374375ebc6744379fba43c1c557187490143 /src/term.c | |
parent | cc984263d755d05a12c8391abff42c087237554e (diff) | |
download | vim-git-ebefac63f30ac038c0c35d7f1b9257483ec41812.tar.gz |
updated for version 7.0177v7.0177
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index a52e3fa28..cc3c0365a 100644 --- a/src/term.c +++ b/src/term.c @@ -3256,6 +3256,8 @@ stoptermcap() * echoed. * Only do this after termcap mode has been started, otherwise the codes for * the cursor keys may be wrong. + * Only do this when 'esckeys' is on, otherwise the response causes trouble in + * Insert mode. * On Unix only do it when both output and input are a tty (avoid writing * request to terminal while reading from a file). * The result is caught in check_termcode(). @@ -3266,6 +3268,7 @@ may_req_termresponse() if (crv_status == CRV_GET && cur_tmode == TMODE_RAW && termcap_active + && p_ek #ifdef UNIX && isatty(1) && isatty(read_cmd_fd) |