diff --git a/Terminal.Gui/Resources/config.json b/Terminal.Gui/Resources/config.json
index 1e92184d8c..9af8d8f757 100644
--- a/Terminal.Gui/Resources/config.json
+++ b/Terminal.Gui/Resources/config.json
@@ -16,8 +16,11 @@
// to throw exceptions.
"ConfigurationManager.ThrowOnJsonErrors": false,
- "Application.NextTabKey": "Tab",
- "Application.PrevTabKey": "Shift+Tab",
+ "Application.NextTabKey": { "Key": "Tab" },
+ "Application.PrevTabKey": {
+ "Key": "Tab",
+ "Modifiers": [ "Ctrl" ]
+ },
"Application.NextTabGroupKey": "F6",
"Application.PrevTabGroupKey": "Shift+F6",
"Application.QuitKey": "Esc",
@@ -698,8 +701,5 @@
]
}
}
-
-
-
]
}
\ No newline at end of file
diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj
index 2ff2b0e99a..3a4dcc680b 100644
--- a/Terminal.Gui/Terminal.Gui.csproj
+++ b/Terminal.Gui/Terminal.Gui.csproj
@@ -141,4 +141,5 @@
true
Miguel de Icaza, Tig Kindel (@tig), @BDisp
+
diff --git a/docfx/schemas/tui-config-schema.json b/docfx/schemas/tui-config-schema.json
index 3f83fb4e5d..d5582cb20a 100644
--- a/docfx/schemas/tui-config-schema.json
+++ b/docfx/schemas/tui-config-schema.json
@@ -390,137 +390,144 @@
},
"Key": {
"description": "A key pressed on the keyboard.",
- "type": "object",
- "properties": {
- "Key": {
- "description": "A key name (e.g. A, b, 1, 2, Enter, Esc, F5, etc.) or an integer value (e.g. 65, 66, 67, etc.).",
- "oneOf": [
- {
- "type": "string",
- "enum": [
- "Null",
- "Backspace",
- "Tab",
- "Enter",
- "Clear",
- "Esc",
- "Space",
- "D0",
- "D1",
- "D2",
- "D3",
- "D4",
- "D5",
- "D6",
- "D7",
- "D8",
- "D9",
- "0",
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "7",
- "8",
- "9",
- "a",
- "b",
- "c",
- "d",
- "e",
- "f",
- "g",
- "h",
- "i",
- "j",
- "k",
- "l",
- "m",
- "n",
- "o",
- "p",
- "q",
- "r",
- "s",
- "t",
- "u",
- "v",
- "w",
- "x",
- "y",
- "z",
- "A",
- "B",
- "C",
- "D",
- "E",
- "F",
- "G",
- "H",
- "I",
- "J",
- "K",
- "L",
- "M",
- "N",
- "O",
- "P",
- "Q",
- "R",
- "S",
- "T",
- "U",
- "V",
- "W",
- "X",
- "Y",
- "Z",
- "F1",
- "F2",
- "F3",
- "F4",
- "F5",
- "F6",
- "F7",
- "F8",
- "F9",
- "F10",
- "F11",
- "F12",
- "Insert",
- "Delete",
- "Home",
- "End",
- "PageUp",
- "PageDown",
- "Up",
- "Down",
- "Left",
- "Right"
+ "oneOf": [
+ {
+ "type": "object",
+ "properties": {
+ "Key": {
+ "description": "A key name (e.g. A, b, 1, 2, Enter, Esc, F5, etc.) or an integer value (e.g. 65, 66, 67, etc.).",
+ "oneOf": [
+ {
+ "type": "string",
+ "enum": [
+ "Null",
+ "Backspace",
+ "Tab",
+ "Enter",
+ "Clear",
+ "Esc",
+ "Space",
+ "D0",
+ "D1",
+ "D2",
+ "D3",
+ "D4",
+ "D5",
+ "D6",
+ "D7",
+ "D8",
+ "D9",
+ "0",
+ "1",
+ "2",
+ "3",
+ "4",
+ "5",
+ "6",
+ "7",
+ "8",
+ "9",
+ "a",
+ "b",
+ "c",
+ "d",
+ "e",
+ "f",
+ "g",
+ "h",
+ "i",
+ "j",
+ "k",
+ "l",
+ "m",
+ "n",
+ "o",
+ "p",
+ "q",
+ "r",
+ "s",
+ "t",
+ "u",
+ "v",
+ "w",
+ "x",
+ "y",
+ "z",
+ "A",
+ "B",
+ "C",
+ "D",
+ "E",
+ "F",
+ "G",
+ "H",
+ "I",
+ "J",
+ "K",
+ "L",
+ "M",
+ "N",
+ "O",
+ "P",
+ "Q",
+ "R",
+ "S",
+ "T",
+ "U",
+ "V",
+ "W",
+ "X",
+ "Y",
+ "Z",
+ "F1",
+ "F2",
+ "F3",
+ "F4",
+ "F5",
+ "F6",
+ "F7",
+ "F8",
+ "F9",
+ "F10",
+ "F11",
+ "F12",
+ "Insert",
+ "Delete",
+ "Home",
+ "End",
+ "PageUp",
+ "PageDown",
+ "Up",
+ "Down",
+ "Left",
+ "Right"
+ ]
+ },
+ {
+ "type": "integer"
+ }
]
},
- {
- "type": "integer"
+ "Modifiers": {
+ "description": "A keyboard modifier (e.g. Ctrl, Alt, or Shift).",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Ctrl",
+ "Alt",
+ "Shift"
+ ]
+ }
}
+ },
+ "required": [
+ "Key"
]
},
- "Modifiers": {
- "description": "A keyboard modifier (e.g. Ctrl, Alt, or Shift).",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "Ctrl",
- "Alt",
- "Shift"
- ]
- }
+ {
+ "type": "string"
}
- },
- "required": [
- "Key"
]
}
}