patch 8.2.3597: Vim seems to hang when writing a long text to a terminal

Problem:    Vim seems to hang when writing a very long text to a terminal
            window.
Solution:   Limit the amount of text based on 'termwinscroll'. (issue #9080)
This commit is contained in:
Bram Moolenaar
2021-11-15 17:13:11 +00:00
parent 733b124a90
commit 36968af155
3 changed files with 20 additions and 1 deletions
+3
View File
@@ -7941,6 +7941,9 @@ A jump table for the options with a short description can be found at |Q_op|.
Number of scrollback lines to keep. When going over this limit the
first 10% of the scrollback lines are deleted. This is just to reduce
the memory usage. See |Terminal-Normal|.
Also used as a limit for text sent to the terminal in one write,
multiplied by the number of columns times 3 (average number of bytes
per cell).
*'termwinsize'* *'tws'*
'termwinsize' 'tws' string (default "")