Add settings to configure terminal scroll limit (#8063)

Fixes https://github.com/zed-industries/zed/issues/7550
Also set maximum allowed to runnables' terminals.


Release Notes:

- Added settings to configure terminal scroll limit
([7550](https://github.com/zed-industries/zed/issues/7550))
This commit is contained in:
Kirill Bulatov
2024-02-20 16:14:59 +02:00
committed by GitHub
parent 7065d6c46d
commit 0d2ad67b27
4 changed files with 30 additions and 2 deletions
+4 -1
View File
@@ -451,7 +451,10 @@
// Set the terminal's font family. If this option is not included,
// the terminal will default to matching the buffer's font family.
// "font_family": "Zed Mono",
// ---
// Sets the maximum number of lines in the terminal's scrollback buffer.
// Default: 10_000, maximum: 100_000 (all bigger values set will be treated as 100_000), 0 disables the scrolling.
// Existing terminals will not pick up this change until they are recreated.
// "max_scroll_history_lines": 10000,
},
// Difference settings for semantic_index
"semantic_index": {