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)
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index cf953c1..7fe371b 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -7941,6 +7941,9 @@
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 "")