1
0
forked from aniani/vim

patch 8.2.0852: cannot map CTRL-S on some systems

Problem:    Cannot map CTRL-S on some systems.
Solution:   Do not use CTRL-S for flow control.
This commit is contained in:
Bram Moolenaar 2020-05-30 20:05:02 +02:00
parent f4ae6b245a
commit d6cd5ffade
2 changed files with 2 additions and 2 deletions

View File

@ -3482,11 +3482,9 @@ mch_settmode(tmode_T tmode)
{
// ~ICRNL enables typing ^V^M
tnew.c_iflag &= ~ICRNL;
# ifdef IXON_NOT_USED
// Do not make CTRL-S stop output, for most users it is unexpected and
// is hardly ever useful.
tnew.c_iflag |= IXON;
# endif
tnew.c_lflag &= ~(ICANON | ECHO | ISIG | ECHOE
# if defined(IEXTEN) && !defined(__MINT__)
| IEXTEN // IEXTEN enables typing ^V on SOLARIS

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
852,
/**/
851,
/**/