Mercurial > vim
diff src/os_unix.c @ 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 | 4411c2b96af9 |
children | 503886f64d5f |
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