mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -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
|
||||
|
Reference in New Issue
Block a user