1
0
forked from aniani/vim

updated for version 7.0177

This commit is contained in:
Bram Moolenaar
2005-12-28 22:39:57 +00:00
parent cc984263d7
commit ebefac63f3
23 changed files with 419 additions and 67 deletions

View File

@@ -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)