diff runtime/doc/options.txt @ 13680:c32e9628dc30 v8.0.1712

patch 8.0.1712: terminal scrollback is not limited commit https://github.com/vim/vim/commit/8c041b6b95f49f7383cf00e2036cf009b326fa8d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 14 18:14:06 2018 +0200 patch 8.0.1712: terminal scrollback is not limited Problem: Terminal scrollback is not limited. Solution: Add the 'terminalscroll' option.
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Apr 2018 18:15:06 +0200
parents f64c5e636c9f
children b28d679b1843
line wrap: on
line diff
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt*	For Vim version 8.0.  Last change: 2018 Mar 13
+*options.txt*	For Vim version 8.0.  Last change: 2018 Apr 14
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -7933,6 +7933,16 @@ A jump table for the options with a shor
 	Note that the "cterm" attributes are still used, not the "gui" ones.
 	NOTE: This option is reset when 'compatible' is set.
 
+						*'terminalscroll'* *'tlsl'*
+'terminalscroll' 'tlsl'	number	(default 10000)
+			global
+			{not in Vi}
+			{not available when compiled without the
+			|+terminal| feature}
+	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|.
+
 						*'termkey'* *'tk'*
 'termkey' 'tk'		string	(default "")
 			local to window