Skip to content

Editor mode skips / swallows input (typed characters aren't shown / recorded) #3425

@andrea-dauria-sony

Description

@andrea-dauria-sony

Describe the bug

Whenever I start typing in the editor view (in my case vim) the text is - for lack of a better explanation - "skipping letters". Essentially, I'm typing "hello world" and the editor would register "hll wrl" or "helowrld". It's not consistent and it's not limited to the text, also vim commands are affected (I may have to press i a few times before actually getting into writing mode, for example; or esc a few times to get out, etc...). It looks as if the editor mode is swallowing some input, randomly.

This applies also to when I paste text in editor mode: the result is a butchered down version of the initial text.

Important notes:

  • Previous version was not showing this behaviour;
  • My keyboard works fine everywhere else;
  • Vim works fine when I launch it from my CLI - i.e. I notice this behaviour exclusively in the editor view of copilot CLI.

Affected version

1.0.49

Steps to reproduce the behavior

  1. Open copilot CLI
  2. ctrl+g to enter editor mode (default editor should be vim, otherwise it will probably open your (other) default editor)
  3. press i to enter write mode and start typing.

Expected behavior

If I type or paste "hello world" in the editor, I would expect the editor to show "hello world", with no character missing.

Additional context

  • x86_64 arch
  • bash
  • WSL (Ubuntu 22.04.5) running on windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputarea:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminal

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions