From c0d40c97682b8ed44f4b0225f55c4556abf43c37 Mon Sep 17 00:00:00 2001 From: Leonard Hecker Date: Wed, 4 Dec 2024 16:03:42 -0800 Subject: [PATCH] Update settings schema for compatibility.textMeasurement (#18277) It seems I forgot to add this in #16916. --- doc/cascadia/profiles.schema.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json index a56de7f038..9ecee0e2c1 100644 --- a/doc/cascadia/profiles.schema.json +++ b/doc/cascadia/profiles.schema.json @@ -2381,6 +2381,15 @@ "description": "When set to true, the terminal will support the DECRQCRA (Request Checksum of Rectangular Area) escape sequence.", "type": "boolean" }, + "compatibility.textMeasurement": { + "default": "graphemes", + "description": "This changes the way incoming text is grouped into cells. The \"graphemes\" option is the most modern and Unicode-correct way to do so, while \"wcswidth\" is a common approach on UNIX, and \"console\" replicates the way it used to work on Windows.", + "enum": [ + "graphemes", + "wcswidth", + "console" + ] + }, "copyFormatting": { "default": true, "description": "When set to `true`, the color and font formatting of selected text is also copied to your clipboard. When set to `false`, only plain text is copied to your clipboard. An array of specific formats can also be used. Supported array values include `html` and `rtf`. Plain text is always copied.",