0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.1433

Problem:    The Sniff interface is no longer useful, the tool has not been
            available for may years.
Solution:   Delete the Sniff interface and related code.
This commit is contained in:
Bram Moolenaar
2016-02-27 18:13:23 +01:00
parent 4d1961783f
commit 85b11769ab
30 changed files with 26 additions and 1646 deletions

View File

@@ -1683,27 +1683,6 @@ mch_inchar(
if (typeaheadlen > 0)
goto theend;
#ifdef FEAT_SNIFF
if (want_sniff_request)
{
if (sniff_request_waiting)
{
/* return K_SNIFF */
typeahead[typeaheadlen++] = CSI;
typeahead[typeaheadlen++] = (char_u)KS_EXTRA;
typeahead[typeaheadlen++] = (char_u)KE_SNIFF;
sniff_request_waiting = 0;
want_sniff_request = 0;
goto theend;
}
else if (time < 0 || time > 250)
{
/* don't wait too long, a request might be pending */
time = 250;
}
}
#endif
if (time >= 0)
{
if (!WaitForChar(time)) /* no character available */