"__ to toggle focus" in the `cursorai.action.generateInTerminal` window doesn't work for custom keybindings

Repro:

  • change your keybinding for generateInTerminal
  • open a new terminal
  • observe that your keybinding works to focus the generate in terminal UI, but not to unfocus it

For example, I added this to my keybindings.json:

  {
    "key": "cmd+m",
    "command": "cursorai.action.generateInTerminal",
    "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
  },

I see this, which reflects the correct keyboard shortcut, but the shortcut doesn’t work. This persists across application restart and machine restart.