microsoft/Terminal

Schema does not allow actions without arguments in verbose form

Open

#11.332 geöffnet am 25. Sept. 2021

Auf GitHub ansehen
 (7 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C++ (3.212 Forks)batch import
Area-SchemaHelp WantedIssue-TaskProduct-Terminal

Repository-Metriken

Stars
 (35.764 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

Windows Terminal version (or Windows build number)

1.9.1942.0

Other Software

No response

Steps to reproduce

Bind any 'shortcut action' using the following syntax:

{
  "command": {
    "action": "toggleAlwaysOnTop" // Most of the toggle actions qualify
  },
  "keys": "ctrl+alt+shift+§" // Any key combination
}

Expected Behavior

The schema should allow this, it's a working syntax.

Actual Behavior

It's considered invalid, with two problems:

  • Missing property "delta". Arguments corresponding to an Adjust Font Size Action

  • String does not match the pattern of "adjustFontSize".

Contributor Guide