mirror of
https://github.com/zoriya/vim.git
synced 2025-12-20 14:15:18 +00:00
updated for version 7.4.307
Problem: Can't build without the +termresponse feature. Solution: Add proper #ifdefs.
This commit is contained in:
11
src/term.c
11
src/term.c
@@ -3311,7 +3311,8 @@ stoptermcap()
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(UNIX) || defined(PROTO)
|
||||
#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
|
||||
# if defined(UNIX) || defined(PROTO)
|
||||
/*
|
||||
* Return TRUE when the xterm version was requested or anything else that
|
||||
* would send an ESC sequence back to Vim.
|
||||
@@ -3327,15 +3328,11 @@ did_request_esc_sequence()
|
||||
if (u7_status == U7_GET)
|
||||
u7_status = 0;
|
||||
return crv_status == CRV_SENT || u7_status == U7_SENT
|
||||
# if defined(FEAT_TERMRESPONSE)
|
||||
|| xt_index_out > xt_index_in
|
||||
# endif
|
||||
;
|
||||
|| xt_index_out > xt_index_in;
|
||||
}
|
||||
#endif
|
||||
# endif
|
||||
|
||||
|
||||
#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
|
||||
/*
|
||||
* Request version string (for xterm) when needed.
|
||||
* Only do this after switching to raw mode, otherwise the result will be
|
||||
|
||||
Reference in New Issue
Block a user