Skip to content

Copy, CopyOrCancel and Cut commands hang in Linux until you copy in some other app #3884

@fsackur

Description

@fsackur

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

N/A

Screenshot

N/A

Environment data

PS Version: 7.4.0
PS HostName: ConsoleHost
PSReadLine Version: 2.3.4
PSReadLine EditMode: Emacs
OS: Linux ghetto-blaster 6.5.12-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Nov 20 22:44:24 UTC 2023 x86_64 GNU/Linux
BufferWidth: 207
BufferHeight: 26

Steps to reproduce

  • Select some text
  • Hit Ctrl-C or Ctrl-X

Expected behavior

  • Highlighting is cleared
  • Control returns to the prompt

Actual behavior

  • The prompt hangs
  • In other apps, the selected text can be copied
  • When any other app copies to the clipboard, the hung PSReadLine shell returns control and the highlighting is cleared

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions