changeset 20597:1c9b87841376 v8.2.0852

patch 8.2.0852: cannot map CTRL-S on some systems Commit: https://github.com/vim/vim/commit/d6cd5ffade84a1054fed23079133af3b837033bf Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 20:05:02 2020 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 20:15:03 +0200
parents 4ec94bcaef86
children d14c5a4a8dfa
files src/os_unix.c src/version.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    852,
+/**/
     851,
 /**/
     850,