Skip to content

Middle click copy and pasting is disabled while answering questions #2404

@coretl

Description

@coretl

Describe the problem

While answering questions during a copier copy, selection in the current terminal is disabled, as is middle click paste. Ctrl + shift + V works to paste in text copied from another terminal, but sometimes I would like to copy the answer I gave in a previous question and modify it.

Is this intentionally disabled, or is this a bug?

Template

This doesn't seem to be related to the template. Tested using:

To Reproduce

  1. Run copier copy https://github.com/superlinear-ai/substrate my-project
  2. Use arrows for the first question and press return
  3. For the second question, try and highlight some text from the current terminal using the mouse
  4. See that the text is not selected and middle clicking does nothing

Logs

Expected behavior

You should be able to select text in the current terminal, and middle clicking when answering a question should paste the results in

Screenshots/screencasts/logs

No response

Operating system

Linux

Operating system distribution and version

Linux Mint 22 (same seen on RHEL8)

Copier version

9.10.3

Python version

CPython 3.12

Installation method

uvx+pypi

Additional context

Related to https://github.com/orgs/copier-org/discussions/1881 but this is specifically about middle click paste

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageTrying to make sure if this is valid or not

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions