aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_defaults.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-15 07:59:12 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-04-15 07:59:45 +0800
commitdea0d50f7f3d866d5935f98b82d27ba17b6b8ddb (patch)
treef45a0169a8115c8d8f72bad5b9d6c0d64dc97d59 /runtime/lua/vim/_defaults.lua
parent0f5c94c04b95a2d942b380be48708d3cf097de0c (diff)
downloadrneovim-dea0d50f7f3d866d5935f98b82d27ba17b6b8ddb.tar.gz
rneovim-dea0d50f7f3d866d5935f98b82d27ba17b6b8ddb.tar.bz2
rneovim-dea0d50f7f3d866d5935f98b82d27ba17b6b8ddb.zip
vim-patch:9.1.0321: Garbled output on serial terminals with XON/XOFF flow control
Problem: When used terminal with XON/XOFF flow control, vim tries to still make CTRL-S mapping available, which results in severe screen corruption, especially on large redraws, and even spurious inputs (John Tsiombikas) Solution: Disallow CTRL-S mapping if such terminal is recognized. Don't remove IXON from the bitmask inversion. (Anton Sharonov) *** When started like this: TERM=vt420 vim :set termcap shows "t_xon=y" map <C-S> :echo "abc"<CR> does nothing (after <C-S> output freezes and subsequent <C-Q> unfreezes it) *** When started like this: TERM=xterm vim :set termcap shows "t_xon=" map <C-S> :echo "abc"<CR> works (after <C-S> one see "abc" string echo-ed) fixes: vim/vim#12674 closes: vim/vim#14542 https://github.com/vim/vim/commit/49528da8a60f8fd38ca491d6ccec47dfccf5f23c Co-authored-by: Anton Sharonov <anton.sharonov@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
0 files changed, 0 insertions, 0 deletions