Skip to content

Copying with Ctrl-Shift-C copies literal buffer, not lines #174

@parkovski

Description

@parkovski

Selecting text and copying with Ctrl-Shift-C copies the buffer literally, which gives a line full of spaces and no newline. Copying with right click works as intended. Verified in cmd.exe, pwsh.exe and zsh.

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    17666

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)

PS> echo "foo`nbar"
foo
bar
PS> # copy those two lines with Ctrl-Shift-C and paste into notepad
PS> # should have a line full of spaces before "bar"
  • What's wrong / what should be happening instead:
    It should do the same thing as right click copy - lines have a new line at the end instead of being filled with spaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InteractionInteracting with the vintage console window (as opposed to driving via API or hooks)Issue-TaskIt's a feature request, but it doesn't really need a major design.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingProduct-ConhostFor issues in the Console codebaseWork-ItemIt's being tracked by an actual work item internally. (to be removed soon)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions