Skip to content

Schema does not allow actions without arguments in verbose form #11332

@Sophismata

Description

@Sophismata

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-SchemaThings that have to do with the json schema.Help WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions