mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0856: CTRL-S stops output
Problem: CTRL-S stops output. Solution: Invert the IXON flag. (closes #6166)
This commit is contained in:
parent
ebe9d34aa0
commit
928eec649b
@ -3481,10 +3481,8 @@ mch_settmode(tmode_T tmode)
|
||||
if (tmode == TMODE_RAW)
|
||||
{
|
||||
// ~ICRNL enables typing ^V^M
|
||||
tnew.c_iflag &= ~ICRNL;
|
||||
// Do not make CTRL-S stop output, for most users it is unexpected and
|
||||
// is hardly ever useful.
|
||||
tnew.c_iflag |= IXON;
|
||||
// ~IXON disables CTRL-S stopping output, so that it can be mapped.
|
||||
tnew.c_iflag &= ~(ICRNL | IXON);
|
||||
tnew.c_lflag &= ~(ICANON | ECHO | ISIG | ECHOE
|
||||
# if defined(IEXTEN) && !defined(__MINT__)
|
||||
| IEXTEN // IEXTEN enables typing ^V on SOLARIS
|
||||
|
@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
856,
|
||||
/**/
|
||||
855,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user