Skip to content

Copying text clears the screen on certain codepages #4391

Description

@xj-ms

Describe the bug

When copying selected text on Windows, the screen appears to reset or clear unexpectedly. This happens on my machine with codepage 936 but not when it is 437

Affected version

1.0.79-5

Steps to reproduce the behavior

  1. Change the default code page on Windows: Region -> Administrative -> Change system locale -> Chinese (Simplified, Mainland China)
  2. Launch Copilot CLI in a terminal
  3. Select and copy something

Expected behavior

The screen shouldn't be cleared

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminalarea:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions