docs: Terminal line_height (#16687)

Peter Tripp created

Closes https://github.com/zed-industries/zed/issues/16686

Release Notes:

- N/A

Change summary

docs/book.toml              |  1 
docs/src/configuring-zed.md | 41 +++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)

Detailed changes

docs/book.toml 🔗

@@ -21,3 +21,4 @@ enable = false
 "/ruby.html" = "/docs/languages/ruby.html"
 "/python.html" = "/docs/languages/python.html"
 "/adding-new-languages.html" = "/docs/extensions/languages.html"
+"/language-model-integration.html" = "/docs/assistant/assistant.html"

docs/src/configuring-zed.md 🔗

@@ -1264,6 +1264,7 @@ List of `integer` column numbers
     "font_family": null,
     "font_features": null,
     "font_size": null,
+    "line_height": "comfortable",
     "option_as_meta": true,
     "button": false,
     "shell": {},
@@ -1447,6 +1448,46 @@ See Buffer Font Features
 }
 ```
 
+### Terminal: Line Height
+
+- Description: Set the terminal's line height.
+- Setting: `line_height`
+- Default: `comfortable`
+
+**Options**
+
+1. Use a line height that's `comfortable` for reading, 1.618. (default)
+
+```jsonc
+{
+  "terminal": {
+    "line_height": "comfortable",
+  },
+}
+```
+
+2. Use a `standard` line height, 1.3. This option is useful for TUIs, particularly if they use box characters
+
+```jsonc
+{
+  "terminal": {
+    "line_height": "standard",
+  },
+}
+```
+
+3.  Use a custom line height.
+
+```jsonc
+{
+  "terminal": {
+    "line_height": {
+      "custom": 2,
+    },
+  },
+}
+```
+
 ### Terminal: Option As Meta
 
 - Description: Re-interprets the option keys to act like a 'meta' key, like in Emacs.