Skip to content

Copilot suggestion virtual text stays around with every keystroke even when typing something different than the suggestion #471

Description

@GitMurf

@AntoineGS I am not sure if these changes were the cause but I just noticed in the last day or so a weird behavior where if I am typing and ghost text appears for a copilot suggestion, it sort of "stutters" as if it is resetting the completion and virtual text. In the past I could type and it would just smoothly type "over" the suggested virtual text unless I started typing something different than the virtual text at which point it would correctly give a new suggestion.

The TLDR I believe is that we should not re-trigger the completion and/or not reset the virtual text if the suggestion is the same and still valid because you are typing the same thing that copilot has suggestion currently.

Here is a video showing what I mean:

WindowsTerminal.-.Arch_CbVJKDHonP_2025-04-23_10-33-23.mp4

Let me know if you have any questions.

Originally posted by @GitMurf in #467

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions