Mercurial > vim
view pixmaps/tb_save_all.xpm @ 34925:286bee19bc96 v9.1.0321
patch 9.1.0321: Garbled output on serial terminals with XON/XOFF flow control
Commit: https://github.com/vim/vim/commit/49528da8a60f8fd38ca491d6ccec47dfccf5f23c
Author: Anton Sharonov <anton.sharonov@gmail.com>
Date: Sun Apr 14 20:02:24 2024 +0200
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: #12674
closes: #14542
Signed-off-by: Anton Sharonov <anton.sharonov@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 14 Apr 2024 20:15:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_save_all_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s iconColor1 m black c #000000", ". s none m none c none", "X s iconGray2 m none c #bdbdbd", "o s iconColor2 m none c #FFFFFF", "O s bottomShadowColor m black c #5D6069", /* pixels */ " ....", " X oooooooo o ....", " X oooooooo O...", " X .", " X X oooooooo o .", " X X oooooooo O", " X X oooooooo X O", " XX X oooooooo X O", " XX X oooooooo X O", " XX X oooooooo X O", " XX XX XX O", " XX XXXXXXXXXXXX O", " XX XX X O", ". XX oo X O", "..O XX oo X O", "... XX oo X O", ".... O", ".....OOOOOOOOOOOO."};