Skip to content

Del key in MCP editing mode behaves like Backspace #1061

@jack5github

Description

@jack5github

Describe the bug

Pressing Del while in an input field when editing or creating an MCP server configuration causes the cursor to move to the left, rather than stay in place.

Affected version

0.0.389 Commit: 95ae76e

Steps to reproduce the behavior

  1. Open copilot.
  2. Execute /mcp add.
  3. Fill in the Command input box.
  4. Move the cursor to a point in the middle of the entered command.
  5. Press or hold the Del key.

Expected behavior

The Del key should delete characters without moving the cursor, unless there are no characters at its location, in which case it should do nothing.

Additional context

  • Operating system: Microsoft Windows 11 Pro 10.0.26200 Build 26200
  • CPU architecture: x64-based PC
  • Terminal emulator: PowerShell

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions