Skip to content

Windows: "SendKeystrokes" command doesn't send specific shortcut in terminal #41176

@hisbvdis

Description

@hisbvdis

Summary

To send ctrl-alt-shift-` shortcut "SendKeystrokes" command in terminal, it is needed to pass ctrl-alt-~

Description

Steps to trigger the problem:

  1. Set the following keybinding, that clears terminal (pay attention to the ctrl-alt-shift-` binding)
{
  "context": "Terminal",
  "bindings": {
    "ctrl-alt-shift-`": "terminal::Clear"
  }
},
  1. Set the following keybinding with "SendKeystrokes" command, that supposed to run previouse ctrl-alt-shift-` shortcut
{
  "context": "Editor || Pane",
  "bindings": {
    "ctrl-alt-shift-`": [
      "workspace::SendKeystrokes",
      "ctrl-` ctrl-alt-shift-` ctrl-e"
    ]
  }
},

Expected Behavior:
ctrl-alt-shift-` shortcut successfully run

Actual Behavior:
ctrl-alt-shift-` doesn't successfully run. We nee to run ctrl-alt-~ instead

{
  "context": "Editor || Pane",
  "bindings": {
    "ctrl-alt-shift-`": [
      "workspace::SendKeystrokes",
      "ctrl-` ctrl-alt-~ ctrl-e"
    ]
  }
},

Zed Version and System Specs

Zed: v0.209.6 (Zed)
OS: Windows 10.0.26200
Memory: 27.8 GiB
Architecture: x86_64
GPU: AMD Radeon 780M Graphics || AMD Corporation || 25.9.2 (25.10.25.15-250916a-419139E-AMD-Software-Adrenalin-Edition)

Metadata

Metadata

Assignees

Labels

platform:windowshappens only on Windows, not other OS

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions