This commit is contained in:
Pankaj Bhojwani 2021-08-09 11:52:39 -07:00
parent 0be9b2afec
commit ce8288f1b1
2 changed files with 14 additions and 1 deletions

View file

@ -235,6 +235,7 @@
"findMatch",
"focusPane",
"globalSummon",
"highlightCursor",
"identifyWindow",
"identifyWindows",
"moveFocus",
@ -959,6 +960,17 @@
}
]
},
"HighlightCursorAction": {
"description": "The action to shine a spotlight on the current cursor location. If the cursor is off the screen, this action does nothing.",
"allOf": [
{ "$ref": "#/definitions/ShortcutAction" },
{
"properties": {
"action": { "type": "string", "pattern": "highlightCursor" }
}
}
]
},
"Keybinding": {
"additionalProperties": false,
"properties": {
@ -994,6 +1006,7 @@
{ "$ref": "#/definitions/FocusPaneAction" },
{ "$ref": "#/definitions/GlobalSummonAction" },
{ "$ref": "#/definitions/QuakeModeAction" },
{ "$ref": "#/definitions/HighlightCursorAction" },
{ "type": "null" }
]
},

View file

@ -91,7 +91,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
}
// Method Description:
// - Helper to initialize the propoerties of the spotlight such as the location and
// - Helper to initialize the properties of the spotlight such as the location and
// the angles of the inner and outer cones
// Arguments:
// - xCoord: the x-coordinate of where to put the light